summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorPriyanka Kakadiya <pka@odoo.com>2019-05-29 05:04:24 +0000
committerDamien Bouvy <dbo@odoo.com>2019-07-22 08:07:31 +0000
commit65613f5f83bdac212033b84fb67ce58c67e25e80 (patch)
tree71d24cc82d8a262374f1dd5608872e34e6de670e /addons/web/static/src/js/views/basic/basic_controller.js
parentb492bde6a121be1c15ed90ce0827fcfd72a12f5c (diff)
[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: Damien Bouvy (dbo) <dbo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions