-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[17.0][MIG] sale_triple_discount #3406
base: 17.0
Are you sure you want to change the base?
Commits on Nov 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 914c411 - Browse repository at this point
Copy the full SHA 914c411View commit details -
[MIG] sale_triple_discount: Migration to 10.0
OCA Transbot updated translations from Transifex [UPD] Update sale_triple_discount.pot
Configuration menu - View commit details
-
Copy full SHA for beb7025 - Browse repository at this point
Copy the full SHA beb7025View commit details -
Translated using Weblate (Nederlands (nl_NL))
Currently translated at 100,0% (5 of 5 strings) Translation: sale-workflow-10.0/sale-workflow-10.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-10-0/sale-workflow-10-0-sale_triple_discount/nl_NL/
Configuration menu - View commit details
-
Copy full SHA for 77a4cae - Browse repository at this point
Copy the full SHA 77a4caeView commit details -
Translated using Weblate (Dutch (nl_NL))
Currently translated at 100.0% (5 of 5 strings) Translation: sale-workflow-10.0/sale-workflow-10.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-10-0/sale-workflow-10-0-sale_triple_discount/nl_NL/
Configuration menu - View commit details
-
Copy full SHA for 58b4fc7 - Browse repository at this point
Copy the full SHA 58b4fc7View commit details -
[FIX] sale_triple_discount: Correctly compute taxes with round_global…
…ly configuration
Configuration menu - View commit details
-
Copy full SHA for d327702 - Browse repository at this point
Copy the full SHA d327702View commit details -
[FIX] sale_triple_discount: Store values in cache for recomputation c…
…onsistency [FIX] sale_triple_discount: Invalidating the cache of specific records before recomputing price and discount [UPD] Update sale_triple_discount.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-10.0/sale-workflow-10.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-10-0/sale-workflow-10-0-sale_triple_discount/
Configuration menu - View commit details
-
Copy full SHA for b7ba171 - Browse repository at this point
Copy the full SHA b7ba171View commit details -
sale_triple_discount: Fix tax total on report: include the discount2/…
…3 in the computation
Configuration menu - View commit details
-
Copy full SHA for b36dfe7 - Browse repository at this point
Copy the full SHA b36dfe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4c40cb - Browse repository at this point
Copy the full SHA c4c40cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6cb619 - Browse repository at this point
Copy the full SHA c6cb619View commit details -
[UPD] Update sale_triple_discount.pot
Configuration menu - View commit details
-
Copy full SHA for 079bd02 - Browse repository at this point
Copy the full SHA 079bd02View commit details -
[MIG] sale_triple_discount: Migration to 12.0
[UPD] Update sale_triple_discount.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-12.0/sale-workflow-12.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_triple_discount/
Configuration menu - View commit details
-
Copy full SHA for f484df8 - Browse repository at this point
Copy the full SHA f484df8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fbb58b - Browse repository at this point
Copy the full SHA 8fbb58bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b74e7fe - Browse repository at this point
Copy the full SHA b74e7feView commit details -
Configuration menu - View commit details
-
Copy full SHA for c95dede - Browse repository at this point
Copy the full SHA c95dedeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 809f866 - Browse repository at this point
Copy the full SHA 809f866View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1336da - Browse repository at this point
Copy the full SHA d1336daView commit details -
[14.0] sale_triple_discount: sale_order_line_discount_validation compat.
[UPD] Update sale_triple_discount.pot [UPD] README.rst
Configuration menu - View commit details
-
Copy full SHA for 29416c0 - Browse repository at this point
Copy the full SHA 29416c0View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (11 of 11 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_triple_discount/it/ [UPD] README.rst [UPD] README.rst
Configuration menu - View commit details
-
Copy full SHA for d3f2a46 - Browse repository at this point
Copy the full SHA d3f2a46View commit details -
Translated using Weblate (French)
Currently translated at 0.0% (0 of 11 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_triple_discount/fr/
Configuration menu - View commit details
-
Copy full SHA for d812bc2 - Browse repository at this point
Copy the full SHA d812bc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for be1ac2d - Browse repository at this point
Copy the full SHA be1ac2dView commit details -
[MIG]sale_triple_discount: Migration to 15.0
[UPD] Update sale_triple_discount.pot [UPD] README.rst
Configuration menu - View commit details
-
Copy full SHA for dccd773 - Browse repository at this point
Copy the full SHA dccd773View commit details -
sale_triple_discount 15.0.1.0.1
Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-15.0/sale-workflow-15.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_triple_discount/
Configuration menu - View commit details
-
Copy full SHA for 98aa4dc - Browse repository at this point
Copy the full SHA 98aa4dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9e0e30 - Browse repository at this point
Copy the full SHA a9e0e30View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8e5275 - Browse repository at this point
Copy the full SHA a8e5275View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29cf8b6 - Browse repository at this point
Copy the full SHA 29cf8b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b00c1f - Browse repository at this point
Copy the full SHA 0b00c1fView commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-16.0/sale-workflow-16.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_triple_discount/
Configuration menu - View commit details
-
Copy full SHA for 5da445e - Browse repository at this point
Copy the full SHA 5da445eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8b5389 - Browse repository at this point
Copy the full SHA a8b5389View commit details -
Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (12 of 12 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_triple_discount/es_MX/
Configuration menu - View commit details
-
Copy full SHA for a328f23 - Browse repository at this point
Copy the full SHA a328f23View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (12 of 12 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_triple_discount/it/
Configuration menu - View commit details
-
Copy full SHA for 7391bbf - Browse repository at this point
Copy the full SHA 7391bbfView commit details -
Translated using Weblate (Spanish)
Currently translated at 100.0% (12 of 12 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_triple_discount/es/
Configuration menu - View commit details
-
Copy full SHA for ab2a2e4 - Browse repository at this point
Copy the full SHA ab2a2e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1577b27 - Browse repository at this point
Copy the full SHA 1577b27View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (12 of 12 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_triple_discount/it/
Configuration menu - View commit details
-
Copy full SHA for d821d00 - Browse repository at this point
Copy the full SHA d821d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b36e56 - Browse repository at this point
Copy the full SHA 8b36e56View commit details -
Translated using Weblate (German)
Currently translated at 100.0% (12 of 12 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_triple_discount/de/
Configuration menu - View commit details
-
Copy full SHA for f49de7f - Browse repository at this point
Copy the full SHA f49de7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d7afd2 - Browse repository at this point
Copy the full SHA 4d7afd2View commit details -
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (12 of 12 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_triple_discount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_triple_discount/pt_BR/
Configuration menu - View commit details
-
Copy full SHA for 66b791a - Browse repository at this point
Copy the full SHA 66b791aView commit details -
[FIX] sale_triple_discount: Remove call to deprecated
Method 'invalidate_cache' is deprecated. To invalidate specific field's value into the cache for a recordset we must use the 'invalidate_recordset' method on the recordset itself.
Configuration menu - View commit details
-
Copy full SHA for ea7b8dd - Browse repository at this point
Copy the full SHA ea7b8ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1f1705 - Browse repository at this point
Copy the full SHA d1f1705View commit details -
[IMP] sale_triple_discount: Improves perfs and consistency
When computing the amount total on a sale.order.line, we now avoid to play with the cache since this change introduced in OCA@e3e59ba introduces a decline in performance. When the cache in invalidated, fields are flushed to the database and depending computed fields are recomputed..... This ultimately leads to temporary inconsistencies breaking others addons relaying on this one. Moreover, the method used in this original commit 'self.invalidate_cache(fnames=self._discount_fields(), ids=self.ids)' is deprecated and the use of the recommended new one lead to others side effects. The original approach is replaced by a contextual method modifying only the discount field when we need it's needed to don't break code relaying on the fact that the discount field is the total discount to apply to a line. This contextual method ensures that the original value is properly restored on exit and that it will not trigger additional recompute due to the temporary change of the discount value
Configuration menu - View commit details
-
Copy full SHA for 90a6565 - Browse repository at this point
Copy the full SHA 90a6565View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff4b4b7 - Browse repository at this point
Copy the full SHA ff4b4b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ad81ad - Browse repository at this point
Copy the full SHA 2ad81adView commit details -
Configuration menu - View commit details
-
Copy full SHA for e83f3be - Browse repository at this point
Copy the full SHA e83f3beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02c0ad4 - Browse repository at this point
Copy the full SHA 02c0ad4View commit details