Skip to content

[MIG] uom_qty_unique: Migration to 19.0#2284

Open
RaphaelVicini wants to merge 3 commits into
OCA:19.0from
acsone:19.0-mig-uom_qty_unique
Open

[MIG] uom_qty_unique: Migration to 19.0#2284
RaphaelVicini wants to merge 3 commits into
OCA:19.0from
acsone:19.0-mig-uom_qty_unique

Conversation

@RaphaelVicini
Copy link
Copy Markdown

Based on PR of @rousseldenis (#1153)

@RaphaelVicini RaphaelVicini force-pushed the 19.0-mig-uom_qty_unique branch 3 times, most recently from ec4bab6 to e61a88c Compare May 5, 2026 15:20
Copy link
Copy Markdown
Contributor

@BhaveshHeliconia BhaveshHeliconia left a comment

Choose a reason for hiding this comment

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

Functional and code review LGTM!

Comment thread uom_qty_unique/models/uom_uom.py Outdated
_inherit = "uom.uom"

_uom_qty_category_unique = models.Constraint(
"EXCLUDE (factor WITH =, relative_uom_id WITH =)WHERE (active=True)",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
"EXCLUDE (factor WITH =, relative_uom_id WITH =)WHERE (active=True)",
"EXCLUDE (factor WITH =, relative_uom_id WITH =) WHERE (active=True)",

Copy link
Copy Markdown
Member

@FrancoMaxime FrancoMaxime left a comment

Choose a reason for hiding this comment

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

LGTM: code review

@RaphaelVicini RaphaelVicini force-pushed the 19.0-mig-uom_qty_unique branch from e61a88c to e58d493 Compare May 13, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants