Skip to content
Snippets Groups Projects
Commit 65613f5f authored by Priyanka Kakadiya's avatar Priyanka Kakadiya Committed by Damien Bouvy
Browse files

[REF] account,hr_expense,sale: enforce uom domain


Enforce the domain of the UOM not by an onchange but by a domain.

Example of an issue if the domain is enforced by an onchange:
- create a order
- add an order line
- select the product
- select an uom
> the uom presented are the one from the product category.
-Save
- edit
- select an uom
> all UOM are presented even the ones of other categories

This commit enforce this new logic at most places.

task - 2003959

closes odoo/odoo#33741

Signed-off-by: default avatarDamien Bouvy (dbo) <dbo@odoo.com>
parent b492bde6
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment