diff options
| author | Arnold Moyaux <arm@odoo.com> | 2018-05-03 13:52:55 +0200 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2018-05-04 14:20:37 +0200 |
| commit | aab2ceefec879da7e9b2bd93a08217d0014db604 (patch) | |
| tree | ad29d1b855ecec1efe9eac281272898069d245c6 /addons/web_editor/static/src/js/editor/transcoder.js | |
| parent | 4b7f4f32ea6ec0d9a0a770d3095c8c2f2e112827 (diff) | |
[FIX] stock: prevent to create the reception route over and over when deleted once
When the reception route of a warehouse company is deleted by the user
e.g. My company, Chicago Receipt in 1 step is deleted,
and then changing the given warehouse `Incoming Shipments`
multiple times
e.g. from `one_step` to `two_steps` multiple time,
the reception route is created again and again and again.
This is because the reception route which is created for the
warehouse is not being assigned to the warehouse
as the `reception_route_id` once newly created.
_update_routes should work the same way than _create_routes,
it should return new value to write on the warehouse.
based on preliminary by Denis Ledoux
opw-1836544
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions
