diff options
| author | Pierre Masereel <pim@odoo.com> | 2016-10-26 17:21:15 +0200 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2017-01-03 17:53:36 +0100 |
| commit | 4689f59a25008246eadff5c93b68a08e9b8a7749 (patch) | |
| tree | 2a7fe06b88ebafe5c40da8ca148f46660bf377b7 /addons/web/static/src/xml | |
| parent | c4055299c3437e071bf1ff816d192e767c3a271e (diff) | |
[FIX] delivery: set carrier on all picking created by SO
When our warehouse is configured to work as 'pick -> pack -> ship'
only the last picking (ship) has the information of which carrier
is set for this delivery.
This is a problem, because we also need the information in the packing
zone, to put in a pack with the correct package type.
To fix this problem, instead of overriding the function 'action_confirm'
which put the 'carrier_id' only on the 'ship' location. We set the
'sale_order_id' on the procurement groups created from the sales
order, and propagate it to the picking through the stock moves
from the procurement group.
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions
