diff options
| author | Martin Trigaux <mat@odoo.com> | 2017-03-13 09:38:42 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2017-03-14 15:58:42 +0100 |
| commit | 8adc2ef440aec35a3829ebf26b3759dbc0b39903 (patch) | |
| tree | 14351ff040c9fc147078b7cc0beaf982658f8e3b /addons/web_editor/static/src/js | |
| parent | 93bb6f322d0bccbca5106ae5cf67ee26e02d0da8 (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')
0 files changed, 0 insertions, 0 deletions
