diff options
| author | Pierre Masereel <pim@odoo.com> | 2017-10-09 11:51:57 +0200 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2017-10-09 11:51:57 +0200 |
| commit | c7ca783e242ba7963fbb847cb53c3b9be9203936 (patch) | |
| tree | fc1223ae20e2c1ef11c1311315e5422010d4cdb7 /addons/web/static/src/js/core | |
| parent | 44f06a66467cb39780fa65d0cefb44704b072e94 (diff) | |
[FIX] stock: picking action_cancel multi
As the function 'action_cancel' is multi, we cannot set the value
'is_locked' to True by using '='. Because it will raise an error if self
contains more or less than 1 record.
To fix this we call the 'write' method which support all cases
Diffstat (limited to 'addons/web/static/src/js/core')
0 files changed, 0 insertions, 0 deletions
