-
-
Notifications
You must be signed in to change notification settings - Fork 664
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: 17.0 #1687
base: 17.0
Are you sure you want to change the base?
Commits on Mar 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6cb379c - Browse repository at this point
Copy the full SHA 6cb379cView 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 edb9938 - Browse repository at this point
Copy the full SHA edb9938View 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 da0e19f - Browse repository at this point
Copy the full SHA da0e19fView 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 30d1785 - Browse repository at this point
Copy the full SHA 30d1785View 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 c57901f - Browse repository at this point
Copy the full SHA c57901fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06a6a56 - Browse repository at this point
Copy the full SHA 06a6a56View 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 559b472 - Browse repository at this point
Copy the full SHA 559b472View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0842b39 - Browse repository at this point
Copy the full SHA 0842b39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a010f0 - Browse repository at this point
Copy the full SHA 2a010f0View 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 bfbb7b2 - Browse repository at this point
Copy the full SHA bfbb7b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d726eb - Browse repository at this point
Copy the full SHA 3d726ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e9b496 - Browse repository at this point
Copy the full SHA 2e9b496View commit details -
[FIX] account_global_discount: Compute global discount with 0% taxes
Co-Authored-By: Pedro M. Baeza <pedro.baeza@tecnativa.com> [UPD] README.rst
Configuration menu - View commit details
-
Copy full SHA for 6fc0342 - Browse repository at this point
Copy the full SHA 6fc0342View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a269c2 - Browse repository at this point
Copy the full SHA 7a269c2View 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 8d3f314 - Browse repository at this point
Copy the full SHA 8d3f314View 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 e4563e8 - Browse repository at this point
Copy the full SHA e4563e8View 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 d4f0be4 - Browse repository at this point
Copy the full SHA d4f0be4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91a3b4b - Browse repository at this point
Copy the full SHA 91a3b4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5236f6b - Browse repository at this point
Copy the full SHA 5236f6bView 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 8fecf33 - Browse repository at this point
Copy the full SHA 8fecf33View 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 3c2daf1 - Browse repository at this point
Copy the full SHA 3c2daf1View 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 3d2e8f5 - Browse repository at this point
Copy the full SHA 3d2e8f5View 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 b046fba - Browse repository at this point
Copy the full SHA b046fbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5e4556 - Browse repository at this point
Copy the full SHA a5e4556View 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 711a1c6 - Browse repository at this point
Copy the full SHA 711a1c6View 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 1038b1f - Browse repository at this point
Copy the full SHA 1038b1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e034f3 - Browse repository at this point
Copy the full SHA 0e034f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f09f357 - Browse repository at this point
Copy the full SHA f09f357View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cf8928 - Browse repository at this point
Copy the full SHA 6cf8928View 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 8cf821a - Browse repository at this point
Copy the full SHA 8cf821aView 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 162b146 - Browse repository at this point
Copy the full SHA 162b146View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9982097 - Browse repository at this point
Copy the full SHA 9982097View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32abfc6 - Browse repository at this point
Copy the full SHA 32abfc6View 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 1fc9d42 - Browse repository at this point
Copy the full SHA 1fc9d42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3027edb - Browse repository at this point
Copy the full SHA 3027edbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1df588a - Browse repository at this point
Copy the full SHA 1df588aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d64bd34 - Browse repository at this point
Copy the full SHA d64bd34View 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 f3b08ad - Browse repository at this point
Copy the full SHA f3b08adView 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 0d2cb37 - Browse repository at this point
Copy the full SHA 0d2cb37View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5dc4fd - Browse repository at this point
Copy the full SHA b5dc4fdView 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 c0dc79d - Browse repository at this point
Copy the full SHA c0dc79dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7065c33 - Browse repository at this point
Copy the full SHA 7065c33View 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 ed5170a - Browse repository at this point
Copy the full SHA ed5170aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 234b9ef - Browse repository at this point
Copy the full SHA 234b9efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4020f81 - Browse repository at this point
Copy the full SHA 4020f81View 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 8744571 - Browse repository at this point
Copy the full SHA 8744571View 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 7ca3474 - Browse repository at this point
Copy the full SHA 7ca3474View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a38075 - Browse repository at this point
Copy the full SHA 6a38075View commit details
Commits on Mar 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c76e148 - Browse repository at this point
Copy the full SHA c76e148View commit details