Closed legalsylvain closed 1 year ago
This PR has the approved
label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 16.0-ocabot-merge-pr-181-by-legalsylvain-bump-patch, awaiting test results.
Congratulations, your PR was merged at 2756f17e55cc2df20f508159b5dc86eb12008335. Thanks a lot for contributing to OCA. ❤️
For that purpose, use same algorithm as 'weight' field (https://github.com/odoo/odoo/blob/16.0/addons/product/models/product_template.py#L88)
Add new test.
Fix : #180
CC : @huguesdk, @vdewulf