OCA / community-data-files

https://odoo-community.org/project/tools-maintainers-30
GNU Affero General Public License v3.0
33 stars 171 forks source link

[16.0][FIX] uom_unece: fix unece code for kilometer #185

Closed alexis-via closed 6 months ago

alexis-via commented 8 months ago

Migration script to fix the unece code is provided. Re-order data/unece.xml to be consistent with uom/data/uom_data.xml See comment in the XML file to know more about the cause of the initial error. I found this bug while reading the new unece mapping of odoo v17 https://github.com/odoo/odoo/blob/17.0/addons/account/models/uom_uom.py#L20

alexis-via commented 7 months ago

@pedrobaeza We need a migration script because the data uom.uom added by the "uom" module is noupdate=1 https://github.com/odoo/odoo/blob/16.0/addons/uom/data/uom_data.xml#L2 The noupdate=0 in the module is meaning less. I'll remove it.

alexis-via commented 6 months ago

@pedrobaeza I answered your remark. Could you remove your change request please ?

OCA-git-bot commented 6 months ago

On my way to merge this fine PR! Prepared branch 16.0-ocabot-merge-pr-185-by-pedrobaeza-bump-minor, awaiting test results.

OCA-git-bot commented 6 months ago

Congratulations, your PR was merged at bce4fade30e6be3dfac0c790cd57529925dd072c. Thanks a lot for contributing to OCA. ❤️

alexis-via commented 6 months ago

Thanks Pedro !