-
-
Notifications
You must be signed in to change notification settings - Fork 690
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
[MIG] account_global_discount: 16.0 #1338
Commits on Mar 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d7df8b8 - Browse repository at this point
Copy the full SHA d7df8b8View commit details -
[FIX+IMP] account_global_discount: link line taxes to discount move l…
…ine + Discounts in invoice report [IMP] account_global_discount: Discounts in invoice report Give discounts info in the invoice report. [FIX] account_global_discount: link line taxes to discount move line
Configuration menu - View commit details
-
Copy full SHA for c76d10b - Browse repository at this point
Copy the full SHA c76d10bView commit details -
[FIX] account_global_discount: More on global discount/taxes link
- We need to take into account invoice lines with multiple taxes, so the link should be m2m. - Migration scripts for preserving the best information on existing installations. - Tests for checking new conditions. - Perform sanity check for not ending in an incompatible situation. - Some refactor done on onchanges for avoiding duplicating operations. - Adjust UI for not allowing to edit computed invoice global discounts.
Configuration menu - View commit details
-
Copy full SHA for 7a28775 - Browse repository at this point
Copy the full SHA 7a28775View commit details -
[MIG] acount_global_discount: Migration to 12.0
- Standard procedure - Make test more resilient
Configuration menu - View commit details
-
Copy full SHA for b4a2bb5 - Browse repository at this point
Copy the full SHA b4a2bb5View commit details -
[IMP] account_global_discount: Deprecated use of currency compute
Replaced by more explicit `_convert` method.
Configuration menu - View commit details
-
Copy full SHA for dce55dd - Browse repository at this point
Copy the full SHA dce55ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for c583f0a - Browse repository at this point
Copy the full SHA c583f0aView commit details -
[FIX] account_global_discount: Fix singleton error in _compute_amount
For reducing diff, we rename the method and call it record per record. Fixes OCA#788
Configuration menu - View commit details
-
Copy full SHA for ddf6c18 - Browse repository at this point
Copy the full SHA ddf6c18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e0aa33 - Browse repository at this point
Copy the full SHA 7e0aa33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73cba28 - Browse repository at this point
Copy the full SHA 73cba28View commit details -
[MIG] account_global_discount: Migration to 13.0
[UPD] Update account_global_discount.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-invoicing-13.0/account-invoicing-13.0-account_global_discount Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-13-0/account-invoicing-13-0-account_global_discount/
Configuration menu - View commit details
-
Copy full SHA for 74508fc - Browse repository at this point
Copy the full SHA 74508fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 429c7e5 - Browse repository at this point
Copy the full SHA 429c7e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c6a478 - Browse repository at this point
Copy the full SHA 2c6a478View commit details -
[FIX] account_global_discount: Compute global discount with 0% taxes
Co-Authored-By: Pedro M. Baeza <[email protected]> [UPD] README.rst
Configuration menu - View commit details
-
Copy full SHA for 4ef4452 - Browse repository at this point
Copy the full SHA 4ef4452View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc7847f - Browse repository at this point
Copy the full SHA fc7847fView commit details -
Translated using Weblate (Dutch)
Currently translated at 100.0% (35 of 35 strings) Translation: account-invoicing-13.0/account-invoicing-13.0-account_global_discount Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-13-0/account-invoicing-13-0-account_global_discount/nl_NL/ [UPD] Update account_global_discount.pot
Configuration menu - View commit details
-
Copy full SHA for 6a3e7b8 - Browse repository at this point
Copy the full SHA 6a3e7b8View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-invoicing-13.0/account-invoicing-13.0-account_global_discount Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-13-0/account-invoicing-13-0-account_global_discount/
Configuration menu - View commit details
-
Copy full SHA for 85591c0 - Browse repository at this point
Copy the full SHA 85591c0View commit details -
Translated using Weblate (Spanish)
Currently translated at 100.0% (34 of 34 strings) Translation: account-invoicing-13.0/account-invoicing-13.0-account_global_discount Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-13-0/account-invoicing-13-0-account_global_discount/es/
Configuration menu - View commit details
-
Copy full SHA for 2404016 - Browse repository at this point
Copy the full SHA 2404016View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2a81bd - Browse repository at this point
Copy the full SHA e2a81bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7706430 - Browse repository at this point
Copy the full SHA 7706430View commit details -
[FIX] account_global_discount: discounts on create
When we set the global discount on the create method we must ensure that the move lines are properly recomputed
Configuration menu - View commit details
-
Copy full SHA for 565ffb8 - Browse repository at this point
Copy the full SHA 565ffb8View commit details -
[IMP] account_global_discount: security group
Users will need a specific group to set global discounts so it's easier to decide who's allowed to apply them. [UPD] Update account_global_discount.pot
Configuration menu - View commit details
-
Copy full SHA for 1f091c7 - Browse repository at this point
Copy the full SHA 1f091c7View commit details -
account_global_discount 13.0.1.1.0
Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-invoicing-13.0/account-invoicing-13.0-account_global_discount Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-13-0/account-invoicing-13-0-account_global_discount/
Configuration menu - View commit details
-
Copy full SHA for 626fa86 - Browse repository at this point
Copy the full SHA 626fa86View commit details -
[FIX] account_global_discount: Prevent error when add more taxes in m…
…ulti-lines from invoices when global discount is empty
Configuration menu - View commit details
-
Copy full SHA for 3e3df3e - Browse repository at this point
Copy the full SHA 3e3df3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e839e9 - Browse repository at this point
Copy the full SHA 8e839e9View commit details -
[FIX+REF] account_global_discount: Include taxes in global discount m…
…ove lines Previously, no taxes were populated as base taxes for global discount move lines, which means that the tax reports were incorrect. The global discount lines + move lines has been injected other way for avoiding inconsistencies, and the rest of the features have been adapted according this. A migration script is provided as well for filling taxes in existing global discount move lines. [UPD] Update account_global_discount.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-invoicing-13.0/account-invoicing-13.0-account_global_discount Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-13-0/account-invoicing-13-0-account_global_discount/
Configuration menu - View commit details
-
Copy full SHA for 4b13c74 - Browse repository at this point
Copy the full SHA 4b13c74View commit details -
[FIX] account_global_discount: Call the proper method on create
For recomputing the global discounts, now we need to call another method. TT30077
Configuration menu - View commit details
-
Copy full SHA for b76951e - Browse repository at this point
Copy the full SHA b76951eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a380b0 - Browse repository at this point
Copy the full SHA 1a380b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82d1ed4 - Browse repository at this point
Copy the full SHA 82d1ed4View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbafbc8 - Browse repository at this point
Copy the full SHA dbafbc8View commit details -
[FIX] account_global_discount: computed fields must be stored because…
… the other standard computed fields in same method are
Configuration menu - View commit details
-
Copy full SHA for fcea1d2 - Browse repository at this point
Copy the full SHA fcea1d2View commit details -
[FIX] account_global_discount: Filtering global discount in on_change…
… by invoice's company
Configuration menu - View commit details
-
Copy full SHA for 0a54b98 - Browse repository at this point
Copy the full SHA 0a54b98View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9eb236 - Browse repository at this point
Copy the full SHA a9eb236View commit details -
Configuration menu - View commit details
-
Copy full SHA for 718a1a6 - Browse repository at this point
Copy the full SHA 718a1a6View commit details -
[FIX] account_global_discount: When writing Odoo doesn't autocomplete…
… amount_currency and it could fail with constraint
Configuration menu - View commit details
-
Copy full SHA for d3a12f0 - Browse repository at this point
Copy the full SHA d3a12f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9cf683 - Browse repository at this point
Copy the full SHA d9cf683View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e1d78a - Browse repository at this point
Copy the full SHA 9e1d78aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fb75f2 - Browse repository at this point
Copy the full SHA 8fb75f2View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (36 of 36 strings) Translation: account-invoicing-14.0/account-invoicing-14.0-account_global_discount Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-14-0/account-invoicing-14-0-account_global_discount/it/
Configuration menu - View commit details
-
Copy full SHA for 61d400c - Browse repository at this point
Copy the full SHA 61d400cView commit details -
[FIX] *: Change _recompute_tax_lines args according upstream
odoo/odoo@c9d5f06 has changed the number of arguments on the method `_recompute_tax_lines`, so we need to adapt the overrides to such change.
Configuration menu - View commit details
-
Copy full SHA for ec7da08 - Browse repository at this point
Copy the full SHA ec7da08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29fa1a6 - Browse repository at this point
Copy the full SHA 29fa1a6View commit details -
Translated using Weblate (Portuguese)
Currently translated at 100.0% (35 of 35 strings) Translation: account-invoicing-14.0/account-invoicing-14.0-account_global_discount Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-14-0/account-invoicing-14-0-account_global_discount/pt/
Configuration menu - View commit details
-
Copy full SHA for 011401b - Browse repository at this point
Copy the full SHA 011401bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8079448 - Browse repository at this point
Copy the full SHA 8079448View commit details -
[FIX] account_global_discount: multi-currency
In a foreign currency invoice the amounts (amount_total, amount_untaxed) are expressed in the `invoice` currency while the accounting entry lines are expressed in the `company` currency. The base_before_global_discounts has to be expressed in the invoice currency as well in such invoices because the discounts need to be computed in the same currency as the other amounts. Also set the invoice currency_id on the tax line so that it doesn't default to the company currency, and convert the discount journal entry amount to the company currnecy.
Configuration menu - View commit details
-
Copy full SHA for aa774e9 - Browse repository at this point
Copy the full SHA aa774e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e157c6 - Browse repository at this point
Copy the full SHA 3e157c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82c6816 - Browse repository at this point
Copy the full SHA 82c6816View commit details -
Configuration menu - View commit details
-
Copy full SHA for 859d403 - Browse repository at this point
Copy the full SHA 859d403View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa2a3b0 - Browse repository at this point
Copy the full SHA fa2a3b0View commit details -
[FIX] account_global_discount: Make tests resilient
- Depending on the installed set of modules, the company currency may be USD or EUR. If the second case, these tests will fail, so we make sure that the company currency is USD for our tests, doing the change by SQL, as there's a Python constraint that prevents it. Not needed in v17 due to: odoo/odoo#107113.
Configuration menu - View commit details
-
Copy full SHA for 464cb85 - Browse repository at this point
Copy the full SHA 464cb85View commit details -
[14.0][IMP] account_global_discount, added init hook to avoid memory …
…issues on big database installation
Configuration menu - View commit details
-
Copy full SHA for df03898 - Browse repository at this point
Copy the full SHA df03898View commit details