diff options
| author | Arnold Moyaux <arm@odoo.com> | 2018-06-25 16:13:46 +0200 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2018-06-26 13:16:52 +0200 |
| commit | bd5ca8c61294955d1120d48e872e0bb4c5a07481 (patch) | |
| tree | 8f890204acc822294797a4531e5f2950033046d5 /addons/web_editor/static/src/js/editor/transcoder.js | |
| parent | 5cecd0a197eba847e4a71bea3a31584d2b88ea6b (diff) | |
[FIX] stock: be able to update stock module (demo data)
Due to commit 74737865d51bc22912971796f76b99b51047a8d6 when a user
with demo data try to update stock it will return the location
constraint because the demo data try to update the supplier location
with the usage supplier. However there is no check if the usage is
really modify or just in values.
This commit add a check in order to only select locations with a new
usage or that effectively change the 'scrap location' switch.
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions
