diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-04-15 09:40:04 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-04-18 09:46:22 +0000 |
| commit | e7ce0b43a637d0cf8bf40d1e6062bdbdf38ac4c2 (patch) | |
| tree | 3986fd178f46884610c1196d7040a61c757066fc /addons/website_customer | |
| parent | c9c8f1b4b7809b4f498ecbb7622dc1b537ff933d (diff) | |
[FIX] stock_dropshipping: do not merge PO lines coming from a SO
Fine tuning of commit b9e3c153, for the same use-case.
The route may not be passed in values, in which case the bug is still present.
There are two ways to go around that.
We could add the stock.rule in values, which contains the route.
The solution we adopt here is to use the sale_line_id field on the purchase line
If it is present, it was added through _prepare_purchase_order_line,
and thus we want to keep track of the origin.
opw 1957701
closes odoo/odoo#32683
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/website_customer')
0 files changed, 0 insertions, 0 deletions
