diff options
| author | Guewen Baconnier <guewen.baconnier@camptocamp.com> | 2020-02-03 12:06:31 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-02-25 08:59:34 +0000 |
| commit | 70b207fe3279accaa6af8755554c2b21c5245de9 (patch) | |
| tree | 4cc2d59c67f8c6ae373cfc4906c3c701ebecec97 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | fdf95cf0d2d630f3ffe52dab15e8acc4ee9fa95d (diff) | |
[FIX] stock: sync only 'active' to sublocations on (un)archive
When a write on the active field is done, we only want to synchronize
this value to the locations downward.
Steps to reproduce the issue:
Import this file to update Stock Locations on a fresh runbot instance:
id,name,location_id,usage,active,comment
stock.stock_location_stock,STOCK,WH,internal,1,comment STOCK
Expected:
* The location "Stock" is renamed to STOCK with a comment: "comment
STOCK".
Before the correction:
* The location "Stock" is renamed to STOCK with a comment: "comment
STOCK".
* All the children locations of "Stock" are renamed to STOCK with the
same comment
closes odoo/odoo#46188
Opw: 2188690
X-original-commit: 02e7558b221461545ad881319433607b2ac4334c
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
