Commit Graph

5 Commits

Author SHA1 Message Date
Goffin Simon ad253a3386 [FIX] purchase, stock_dropshipping: origin in PO
When a product is in "dropshipping" with one supplier and with a few SO
created for the same customer, the origin of the resulting PO must
include all the SO names.

opw:647409
2015-08-18 11:01:27 +02:00
Yannick Vaucher 37f3d08c18 [IMP] Add a way to bypass check on dropshipping with both invoice policies on delivery. This improve #6824 as it procures no way to implement the missed feature and bypass the check. 2015-06-02 13:46:04 +02:00
Nicolas Martinelli 1610fc41ef [FIX] stock_dropshipping: raise a warning in a specific invoice creation config
So far, we do not support the following combination:
- route set on 'dropship'
- PO invoicing set on 'picking'
- SO invoicing set on 'picking'

opw-634898
2015-05-27 16:11:31 +02:00
Denis Ledoux 9d2dbda8ca [FIX] stock_dropshipping: not enough stock warning for MTOs
When 'stock_dropshipping' was installed, in a sale order,
choosing a product being stockable + buy + MTOs returned
the "Not Enough Stock" warning, while it shouldn't.

It's because the according method `_check_rounting` was
overriden in this module, with a @api.one, which aggregates, while
the method expects to return a simple boolean even for a list of
multiple ids.
Converting the method to @api.multi solves the issue.

opw-639426
2015-05-11 13:22:48 +02:00
Ravi Gohil a7cb326e5a [FIX] stock_dropshipping: do not warn for dropshipped items non-availibility
When selectiong a dropshipped product in a sale.order, the user should not be
warned that the product is not available in stock (as it never goes to the stock
anyway but directly from the supplier to the customer).
Factorise verification in _check_routing method.
2015-04-24 15:55:56 +02:00