-
- Downloads
[FIX] delivery,stock: always hide length UoM
[1] hides the length UoM if the package is related to a specific carrier (BPost, Fedex, etc). However, there will still be an issue when the carrier is not defined: if the length UoM of the database is `ft`, so will the length UoM of the package type. Moreover, the dimensions fields are integer: https://github.com/odoo/odoo/blob/b1012175393ca5612899c1a0f1d3803ed8d4fe94/addons/stock/models/stock_package_type.py#L19-L21 As a result, it will be impossible for a user to encode a package type with a length equal to 10in [1] 9250accb OPW-2865471 closes odoo/odoo#119519 Signed-off-by:William Henrotin (whe) <whe@odoo.com>
Please register or sign in to comment