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

[17.0][MIG] sale_triple_discount #3406

Open
wants to merge 44 commits into
base: 17.0
Choose a base branch
from

Commits on Nov 12, 2024

  1. [ADD] sale_triple_discount

    tafaRU authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    914c411 View commit details
    Browse the repository at this point in the history
  2. [MIG] sale_triple_discount: Migration to 10.0

    OCA Transbot updated translations from Transifex
    
    [UPD] Update sale_triple_discount.pot
    chienandalu authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    beb7025 View commit details
    Browse the repository at this point in the history
  3. 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/
    thomaspot authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    77a4cae View commit details
    Browse the repository at this point in the history
  4. 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/
    thomaspot authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    58b4fc7 View commit details
    Browse the repository at this point in the history
  5. [FIX] sale_triple_discount: Correctly compute taxes with round_global…

    …ly configuration
    SimoRubi authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    d327702 View commit details
    Browse the repository at this point in the history
  6. [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/
    SimoRubi authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    b7ba171 View commit details
    Browse the repository at this point in the history
  7. sale_triple_discount: Fix tax total on report: include the discount2/…

    …3 in the computation
    jbaudoux authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    b36dfe7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c4c40cb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c6cb619 View commit details
    Browse the repository at this point in the history
  10. Fix groups on sale.order view

    [UPD] Update sale_triple_discount.pot
    grindtildeath authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    079bd02 View commit details
    Browse the repository at this point in the history
  11. [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/
    tafaRU authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    f484df8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8fbb58b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b74e7fe View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c95dede View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    809f866 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d1336da View commit details
    Browse the repository at this point in the history
  17. [14.0] sale_triple_discount: sale_order_line_discount_validation compat.

    [UPD] Update sale_triple_discount.pot
    
    [UPD] README.rst
    ferran-S73 authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    29416c0 View commit details
    Browse the repository at this point in the history
  18. 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
    francesco-ooops authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    d3f2a46 View commit details
    Browse the repository at this point in the history
  19. 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/
    klodr authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    d812bc2 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    be1ac2d View commit details
    Browse the repository at this point in the history
  21. [MIG]sale_triple_discount: Migration to 15.0

    [UPD] Update sale_triple_discount.pot
    
    [UPD] README.rst
    manuelregidor authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    dccd773 View commit details
    Browse the repository at this point in the history
  22. 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/
    OCA-git-bot authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    98aa4dc View commit details
    Browse the repository at this point in the history
  23. [16.0][MIG] - sale_triple_discount

    sbejaoui authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    a9e0e30 View commit details
    Browse the repository at this point in the history
  24. [UPD] Update sale_triple_discount.pot

    oca-ci authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    a8e5275 View commit details
    Browse the repository at this point in the history
  25. [UPD] README.rst

    OCA-git-bot authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    29cf8b6 View commit details
    Browse the repository at this point in the history
  26. sale_triple_discount 16.0.1.0.1

    OCA-git-bot authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    0b00c1f View commit details
    Browse the repository at this point in the history
  27. Update translation files

    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/
    weblate authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    5da445e View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    a8b5389 View commit details
    Browse the repository at this point in the history
  29. 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/
    alan196 authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    a328f23 View commit details
    Browse the repository at this point in the history
  30. 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/
    GiuTav authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    7391bbf View commit details
    Browse the repository at this point in the history
  31. 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/
    Ivorra78 authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    ab2a2e4 View commit details
    Browse the repository at this point in the history
  32. [UPD] README.rst

    OCA-git-bot authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    1577b27 View commit details
    Browse the repository at this point in the history
  33. 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/
    mymage authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    d821d00 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    8b36e56 View commit details
    Browse the repository at this point in the history
  35. 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/
    jappi00 authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    f49de7f View commit details
    Browse the repository at this point in the history
  36. [BOT] post-merge updates

    OCA-git-bot authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    4d7afd2 View commit details
    Browse the repository at this point in the history
  37. 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/
    Rodrigo Macedo authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    66b791a View commit details
    Browse the repository at this point in the history
  38. [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.
    lmignon authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    ea7b8dd View commit details
    Browse the repository at this point in the history
  39. [BOT] post-merge updates

    OCA-git-bot authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    d1f1705 View commit details
    Browse the repository at this point in the history
  40. [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
    lmignon authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    90a6565 View commit details
    Browse the repository at this point in the history
  41. [BOT] post-merge updates

    OCA-git-bot authored and dalonsod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    ff4b4b7 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    2ad81ad View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    e83f3be View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    02c0ad4 View commit details
    Browse the repository at this point in the history