Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0] [MIG] l10n_it_split_payment #3387

Merged
merged 35 commits into from
Sep 29, 2023

Commits on Sep 25, 2023

  1. [IMP] 1st working mockup

    Davide Corio authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    232e54f View commit details
    Browse the repository at this point in the history
  2. Removing sp_type as 1-entry would produce wrong invoice

    Removing superfluous method
    
    Refactoring action_move_create with reconciliation
    
    handling invoice cancel
    
    ADD README and copyright
    
    REF _compute_amount : clearer
    
    ADD tests
    
    FIX README, import, icon and manifest
    
    ADD _unreconcile_sp
    eLBati authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    c5ee618 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    168c748 View commit details
    Browse the repository at this point in the history
  4. Remove required constraint from configuration fields

    REF split_payment setting invoice total credit = amount to pay
    
    Remove old useless field
    eLBati authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    a91870e View commit details
    Browse the repository at this point in the history
  5. [MIG] Make modules uninstallable

    pedrobaeza authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    47e71e3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c09ed00 View commit details
    Browse the repository at this point in the history
  7. [MIG] Rename manifest files

    pedrobaeza authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    dfedebe View commit details
    Browse the repository at this point in the history
  8. remove statement about split payment journal, as it is not present an…

    …ymore
    
    FIX journal entry of refund
    eLBati authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    1608eca View commit details
    Browse the repository at this point in the history
  9. Always give amount_sp a value

    otherwise you could get into errors like
    
      File "/srv/odoo-8-agilebg-test/agilebg/parts/odoo/addons/account/account_invoice.py", line 647, in button_reset_taxes
        account_invoice_tax.create(taxe)
      File "/srv/odoo-8-agilebg-test/agilebg/parts/odoo/openerp/api.py", line 266, in wrapper
        return new_api(self, *args, **kwargs)
      File "/srv/odoo-8-agilebg-test/agilebg/parts/odoo/openerp/models.py", line 4093, in create
        record = self.browse(self._create(old_vals))
      File "/srv/odoo-8-agilebg-test/agilebg/parts/odoo/openerp/api.py", line 266, in wrapper
        return new_api(self, *args, **kwargs)
      File "/srv/odoo-8-agilebg-test/agilebg/parts/odoo/openerp/api.py", line 508, in new_api
        result = method(self._model, cr, uid, *args, **old_kwargs)
      File "/srv/odoo-8-agilebg-test/agilebg/parts/odoo/openerp/models.py", line 4303, in _create
        recs.recompute()
      File "/srv/odoo-8-agilebg-test/agilebg/parts/odoo/openerp/api.py", line 266, in wrapper
        return new_api(self, *args, **kwargs)
      File "/srv/odoo-8-agilebg-test/agilebg/parts/odoo/openerp/models.py", line 5756, in recompute
        name: rec[name] for name in names
      File "/srv/odoo-8-agilebg-test/agilebg/parts/odoo/openerp/models.py", line 5756, in <dictcomp>
        name: rec[name] for name in names
      File "/srv/odoo-8-agilebg-test/agilebg/parts/odoo/openerp/models.py", line 5640, in __getitem__
        return self._fields[key].__get__(self, type(self))
      File "/srv/odoo-8-agilebg-test/agilebg/parts/odoo/openerp/fields.py", line 840, in __get__
        return record._cache[self]
      File "/srv/odoo-8-agilebg-test/agilebg/parts/odoo/openerp/models.py", line 6022, in __getitem__
        value = self._recs.env.cache[field][self._recs.id]
    KeyError: 663
    eLBati authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    3fcdd58 View commit details
    Browse the repository at this point in the history
  10. Solve problem with tests of l10n_it_split_payment after add of accoun…

    …t_invoice_sequential_dates
    
    Refactoring for variables name to be more clear
    OpenCode authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    da96f90 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    722fab0 View commit details
    Browse the repository at this point in the history
  12. l10n_it_split_payment IMP README with new screenshots

    l10n_it_split_payment FIX tests porting to 10
    
    l10n_it_split_payment FIX translation and README
    eLBati authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    f790c39 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    349bfd7 View commit details
    Browse the repository at this point in the history
  14. [ADD] account tax and tests

    eLBati authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    386bdf3 View commit details
    Browse the repository at this point in the history
  15. [FIX] manifest website string

    [IMP] converted query to orm in get_receivable_line_ids()
    
    [IMP] check if split payment with related field
    
    [FIX] missing contributor name
    
    [ADD] depends to _compute_amount()
    ruben-tonetto authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    e7a3ec3 View commit details
    Browse the repository at this point in the history
  16. FIX (#1)

    File "/home/elbati/workspace/odoo/instances/odoo11/parts/l10n-italy/l10n_it_split_payment/models/account.py", line 105, in action_move_create
        self._compute_split_payments()
      File "/home/elbati/workspace/odoo/instances/odoo11/parts/l10n-italy/l10n_it_split_payment/models/account.py", line 80, in _compute_split_payments
        ) / inv_total
    ZeroDivisionError: float division by zero
    eLBati authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    1fb97ee View commit details
    Browse the repository at this point in the history
  17. [IMP] revamp readme

    ruben-tonetto authored and Borruso committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    8a71706 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    526c270 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. Translated using Weblate (Italian)

    Currently translated at 100.0% (17 of 17 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_split_payment
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_split_payment/it/
    eLBati authored and Borruso committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    f272fbc View commit details
    Browse the repository at this point in the history
  2. Translated using Weblate (Spanish)

    Currently translated at 94.1% (16 of 17 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_split_payment
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_split_payment/es/
    Galoperd authored and Borruso committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    ef3b58a View commit details
    Browse the repository at this point in the history
  3. merge PR 1264 1717 1728 1737 1739

    Lara Baggio authored and Borruso committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    b04bddd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6236139 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8b424b5 View commit details
    Browse the repository at this point in the history
  6. Move amount_sp to account_move

    Otherwise the value is recomputed and the following error might occur:
    Impossibile aggiungere/modificare registrazioni antecedenti o pari alla data di chiusura 24/09/2020.
    SimoRubi authored and Borruso committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    fc49c24 View commit details
    Browse the repository at this point in the history
  7. [FIX] l10n_it_split_payment: fix payment lines

    Force recompute of all fields instead of just debit/credit.
    Fix a failure in l10n_it_fatturapa_out_sp tests.
    TheMule71 authored and Borruso committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    aefd8d5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    30c4035 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e258ae1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    eeb4155 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f4bf939 View commit details
    Browse the repository at this point in the history
  12. [FIX] l10n_it_split_payment: fix the following use case scenario.

    Steps to reproduce:
    
    * choose partner with fiscal position (Split Payment = True)
    * create an invoice with a line
    * edit the price unit
    
    Current behavior:
    
    See https://user-images.githubusercontent.com/3512779/179964568-955cbe00-5346-4532-a53b-efa1b1eb663e.gif for further info
    tafaRU authored and Borruso committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    95de0b5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    12cf5d3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b0e993a View commit details
    Browse the repository at this point in the history
  15. Translated using Weblate (Italian)

    Currently translated at 100.0% (21 of 21 strings)
    
    Translation: l10n-italy-14.0/l10n-italy-14.0-l10n_it_split_payment
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_split_payment/it/
    francesco-ooops authored and Borruso committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    5ed65c2 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    167bf8c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    3504091 View commit details
    Browse the repository at this point in the history