summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authoramoyaux <arm@odoo.com>2017-10-18 13:52:11 +0200
committeramoyaux <arm@odoo.com>2017-10-19 09:44:07 +0200
commit0cf3b1237351e63cf80918506a5fe0b9b45e181c (patch)
tree0bf119eb34bdff81d1d323f395240961377ef0c0 /addons/web/static/src/js/views/basic/basic_controller.js
parentd38d62f5db7607b3105183ddd86ec2739b411791 (diff)
[FIX] sale: product is editable after invoice, picking, timesheet
Since procurement removal introduced by commit 0e4f3bb95991261c04c08e72b28430acfabdecd1 product is editable once picking, timesheet,... are created. However if the user modify the product it will not be reflected to the related downstream object. Previously it checks if a procurement order was linked to the sale line and thus make it readonly. This commit reproduce the old behavior by using a computed field that can be override in sale_x modules in order to block the product change for defined object.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions