summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/transcoder.js
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2017-03-13 09:38:42 +0100
committerMartin Trigaux <mat@odoo.com>2017-03-14 15:58:42 +0100
commit8adc2ef440aec35a3829ebf26b3759dbc0b39903 (patch)
tree14351ff040c9fc147078b7cc0beaf982658f8e3b /addons/web_editor/static/src/js/transcoder.js
parent93bb6f322d0bccbca5106ae5cf67ee26e02d0da8 (diff)
[FIX] stock: do not write on picking type
When creating a stock.picking, the related fields picking_type_entire_packs and picking_type_code were both updated. This was an issue was required write access on stock.picking.type (warehouse manager) to create a stock.picking (warehouse user). The fields were updated as they were present in the view and filled with the related value. Even if the value was unchanged, it was triggering a write anyway. The two fields were in invisible="1" and used only in attrs for other fields. Making these two fields in readonly does not prevent to use it in the attrs but avoid to send a value to the server and trigger a useless write. Fixes #15769
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions