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

[18.0][MIG] product_total_weight_from_packaging: Migration to 18.0 #1792

Open
wants to merge 23 commits into
base: 18.0
Choose a base branch
from

Commits on Nov 28, 2024

  1. Configuration menu
    Copy the full SHA
    f743b44 View commit details
    Browse the repository at this point in the history
  2. Use new values handler

    grindtildeath authored and Kimkhoi3010 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    a3e3c73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e91192b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    49a5c8f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e2803f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dd8cb90 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    084320c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    422bbb7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    baef5ac View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b31d4ce View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c8ec269 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    999c922 View commit details
    Browse the repository at this point in the history
  13. [IMP] product_total_weight_from_packaging: Convert the total weight t…

    …o product's uom
    duongtq authored and Kimkhoi3010 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    a193a60 View commit details
    Browse the repository at this point in the history
  14. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: product-attribute-16.0/product-attribute-16.0-product_total_weight_from_packaging
    Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_total_weight_from_packaging/
    weblate authored and Kimkhoi3010 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    0cdfa00 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a35f6a5 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    14684dc View commit details
    Browse the repository at this point in the history
  17. [FIX] product_total_weight_from_packaging. Uses weight in place of ma…

    …x_weight
    
    The max_weight is a concept that was introduced in odoo delivery module to define the transporter weight limit for the shipped packaging. Before v16, the transporter packaging and product packaging was the same model product.packaging. Now the transporter packaging is moved to the model stock.package.type.
    In v13, max_weight defined in delivery module on product.packaging was used also for product packaging dimension.
    In v14, the weight field was added on the product.packaging and the max_weight was still coming from delivery module. This was introducing inconsistency as some modules migrated from v13 to v14 still rely on max_weight and some rely on the new weight field.
    In v16, we have to drop this max_weight on product.packaging as the delivery module moved it to stock.package.type and we should rely only on the weight field.
    The migration of the product_packaging_dimension OCA#1161 has to be fixed to not expose the old max_weight field and any data on max_weight must be moved to weight if empty.
    
    This module also deserves a big warning that it is lacking the weight uom conversions as it depends on product_packaging_dimension that depends on product_logistics_uom that allows to set a uom on the weight. The sum in this module is assuming all weights are in kg
    
    Co-authored-by: Jacques-Etienne Baudoux <[email protected]>
    2 people authored and Kimkhoi3010 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    ce62b5a View commit details
    Browse the repository at this point in the history
  18. [BOT] post-merge updates

    OCA-git-bot authored and Kimkhoi3010 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    15a3391 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f949f97 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    c35429b View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    c865f1f View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    97a8a61 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    d8b48f9 View commit details
    Browse the repository at this point in the history