diff options
| author | Simon Lejeune <sle@openerp.com> | 2017-07-28 15:29:47 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2017-07-28 15:29:47 +0200 |
| commit | 7de78e773783b9e24cb2031591887697f2038587 (patch) | |
| tree | 3f8de154f9502fb4747410d33befa4a6a1d3372b /addons/web/static/src/js/fields | |
| parent | c6f9109d4eb5e6638107fadc0d915866c2df406e (diff) | |
[FIX] stock: add move when picking is available
This completes rev 8822b7cfa41b65113b2482f8e057ef6c46398f8d.
The state field was correctly updated by the default_get, however it was
not set to the server because it was set as readonly on the model. For
this specific usecase, we force the readonly to False in the view.
The same issue was happening with the product_uom_id, which is set to
readonly in the view. We mark the field as editable if the move is
additional, and as it does not reserve anything it shouldn't trigger any
other issues.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
