summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/pyeval.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-01-07 10:24:54 +0100
committerDenis Ledoux <dle@odoo.com>2016-01-07 10:29:49 +0100
commit0b9fbc67bbbb91d10b3ed7aaf6f7327628e59c36 (patch)
tree0052ec074d1209e5948d2fd64a9d8a2910cd49bf /addons/web/static/src/js/framework/pyeval.js
parent7fcce928f3621af5dd68eee8062ab5821dcf2697 (diff)
[FIX] purchase: prevent write on the related `stock.location`
`default_location_dest_id_usage` on `purchase.order` is used only for an attrs domain on the field `dest_address_id` in the purchase order form. There is therefore no worries to set it as readonly, it won't break the feature he has been added for. Besides, this will prevent the useless write of the same field value on the related `stock.location` when saving the purchase order. This is important to prevent the useless write on `stock.location`, as users might have the rights to create/edit purchase orders without having the write access to the stock locations. opw-660736
Diffstat (limited to 'addons/web/static/src/js/framework/pyeval.js')
0 files changed, 0 insertions, 0 deletions