Skip to content

Conversation

@mihien
Copy link

@mihien mihien commented Oct 22, 2025

Nothing had to be changed, I just had to update the version in the manifest.

<field name="uom_type">smaller</field>
</record>

<record id="product_uom_millilitre" model="uom.uom">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this id uses the british spelling, while the millimeter one uses the us spelling. i think it would be better to rename this to product_uom_milliliter for consistency. this needs a pre-migration script using openupgradelib.openupgrade.rename_xmlids().

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the same discrepancy exists in odoo: uom.product_uom_meter and uom.product_uom_litre, so lgtm like this.

<field name="uom_type">smaller</field>
</record>

<record id="product_uom_millilitre" model="uom.uom">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the same discrepancy exists in odoo: uom.product_uom_meter and uom.product_uom_litre, so lgtm like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants