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 base_product_mass_addition #1512

Merged
merged 50 commits into from
Mar 11, 2024

Commits on Feb 28, 2024

  1. [ADD] module base_product_mass_addition

    Pierrick Brun authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    4d0a98c View commit details
    Browse the repository at this point in the history
  2. [IMP] do not depend on arbitrary view

    Pierrick Brun authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    0e1c2b0 View commit details
    Browse the repository at this point in the history
  3. [IMP] make implementations intercompatible

    Pierrick Brun authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    f89db59 View commit details
    Browse the repository at this point in the history
  4. IMP ui and refactor action

    bealdav authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    1239d58 View commit details
    Browse the repository at this point in the history
  5. [FIX] Remove non model-agnostic filter

    Pierrick Brun authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    ff975b1 View commit details
    Browse the repository at this point in the history
  6. [UPD] README.rst

    OCA-git-bot authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    7b1e6bf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1792526 View commit details
    Browse the repository at this point in the history
  8. [ADD] icon.png

    OCA-git-bot authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    2c011b3 View commit details
    Browse the repository at this point in the history
  9. [UPD] README.rst

    OCA-git-bot authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    9119db2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a530d81 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7a7c6d6 View commit details
    Browse the repository at this point in the history
  12. [IMP] base_product_mass_addition: black, isort, prettier

    Pierrick Brun authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    146767f View commit details
    Browse the repository at this point in the history
  13. [MIG] base_product_mass_addition: Migration to 14.0

    Pierrick Brun authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    4bef9d2 View commit details
    Browse the repository at this point in the history
  14. [IMP] optionnaly use onchange_helper

    Pierrick Brun authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    e222514 View commit details
    Browse the repository at this point in the history
  15. [IMP] depend on onchange_helper

    Pierrick Brun authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    5faf9e8 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    fd069d1 View commit details
    Browse the repository at this point in the history
  17. [UPD] README.rst

    OCA-git-bot authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    94590cb View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    48d7790 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    732bbff View commit details
    Browse the repository at this point in the history
  20. [IMP] Add access rights hack so that users that don't have write acce…

    …ss to product.product may still use the feature
    kevinkhao authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    d15d91e View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    68987b7 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    2a07d84 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    656e395 View commit details
    Browse the repository at this point in the history
  24. [REF] Remove dead code

    kevinkhao authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    f89a086 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    58193d9 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e58acab View commit details
    Browse the repository at this point in the history
  27. [UPD] README.rst

    OCA-git-bot authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    5fde813 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    15d24a9 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    d698324 View commit details
    Browse the repository at this point in the history
  30. Translated using Weblate (French)

    Currently translated at 7.1% (1 of 14 strings)
    
    Translation: product-attribute-14.0/product-attribute-14.0-base_product_mass_addition
    Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-base_product_mass_addition/fr/
    Kev-Roche authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    bfb075b View commit details
    Browse the repository at this point in the history
  31. Translated using Weblate (French)

    Currently translated at 71.4% (10 of 14 strings)
    
    Translation: product-attribute-14.0/product-attribute-14.0-base_product_mass_addition
    Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-base_product_mass_addition/fr/
    Kev-Roche authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    2463be5 View commit details
    Browse the repository at this point in the history
  32. [IMP] base_product_mass_addition: avoid writing on product access fields

    Supress LOG_ACCESS_COLUMNS writes if we're only writing on quick magic fields,
    as they could lead to concurrency issues.
    
    Moreover, from a functional perspective, these magic fields aren't really
    modifying the product's data so it doesn't make sense to update its metadata.
    
    We achieve it by reverting the changes made by ``write`` [^1], before [^2]
    reaching any explicit flush [^3] or inverse computation [^4].
    
    [^1]: https://github.com/odoo/odoo/blob/f74434c6f/odoo/models.py#L3652-L3663
    [^2]: https://github.com/odoo/odoo/blob/f74434c6f/odoo/models.py#L3686
    [^3]: https://github.com/odoo/odoo/blob/f74434c6f/odoo/models.py#L3689
    [^4]: https://github.com/odoo/odoo/blob/f74434c6f/odoo/models.py#L3703
    
    Basically, if all we're modifying are quick magic fields, and we don't have
    any other column to flush besides the LOG_ACCESS_COLUMNS, clear it.
    ivantodorovich authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    1c55620 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    f4b9e35 View commit details
    Browse the repository at this point in the history
  34. [UPD] README.rst

    OCA-git-bot authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    fd575ef View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    45ed8cb View commit details
    Browse the repository at this point in the history
  36. [MIG]base_product_mass_addition: Migration to 15.0

    angel authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    878474e View commit details
    Browse the repository at this point in the history
  37. [UPD] Update base_product_mass_addition.pot

    oca-ci authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    1196609 View commit details
    Browse the repository at this point in the history
  38. [UPD] README.rst

    OCA-git-bot authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    1c8c5dc View commit details
    Browse the repository at this point in the history
  39. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: product-attribute-15.0/product-attribute-15.0-base_product_mass_addition
    Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-base_product_mass_addition/
    weblate authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    56bf287 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    058d3c3 View commit details
    Browse the repository at this point in the history
  41. Translated using Weblate (Spanish)

    Currently translated at 100.0% (10 of 10 strings)
    
    Translation: product-attribute-15.0/product-attribute-15.0-base_product_mass_addition
    Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-base_product_mass_addition/es/
    luis-ron authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    9d8a0fa View commit details
    Browse the repository at this point in the history
  42. [UPD] README.rst

    OCA-git-bot authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    9d59eb3 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    4e83620 View commit details
    Browse the repository at this point in the history
  44. Translated using Weblate (Italian)

    Currently translated at 100.0% (10 of 10 strings)
    
    Translation: product-attribute-15.0/product-attribute-15.0-base_product_mass_addition
    Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-base_product_mass_addition/it/
    mymage authored and legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    65a367f View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    3c1e85d View commit details
    Browse the repository at this point in the history
  46. [MIG] base_product_mass_addition: Migration to 16.0

    [REF] Remove call to flush that are obsolete, in tests.
    legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    f5511b7 View commit details
    Browse the repository at this point in the history
  47. [FIX] base_product_mass_addition : compute uom_category and uom_id in…

    … the same way, to remove the errror : 'UserWarning: Field product.product.quick_uom_id in dependency of product.product.quick_uom_category_id should be searchable. This is necessary to determine which records to recompute when uom.uom.category_id is modified. You should either make the field searchable, or simplify the field dependency.
    
    '
    legalsylvain committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    861c56a View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    c1a9bb4 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Configuration menu
    Copy the full SHA
    745a0a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1980650 View commit details
    Browse the repository at this point in the history