Hello Rajesh,
on_change_uom is not a better solution to do this, but there must be a check_uom constraint which will also useful for import time. Because if someone try to import inventory line with csv file then on_change will never raise.
So for this bug lp:~openerp-dev/openobject-addons/trunk-bug-953324-mma branch is correct.
Thank you!
« Back to merge proposal
Hello Rajesh,
on_change_uom is not a better solution to do this, but there must be a check_uom constraint which will also useful for import time. Because if someone try to import inventory line with csv file then on_change will never raise.
So for this bug lp:~openerp-dev/openobject-addons/trunk-bug-953324-mma branch is correct.
Thank you!