On 2018-06-18 11:28, JC Michel wrote: > Hi, > > > We have the following business case: > 1. as a book distributor, we handle consignment stock from other > publishers. Sold items are invoiced to us when we send the customer > invoice. > 2. as a book diffusor, we sometimes do « deposit » in bookshops: our > books *and distributed ones* are shipped without invoice to some > bookshops and we invoice them when the books are sold. > > The module stock_consignment seems to handle (1) correctly. (2) seems to > work too, for books that are from our own production. > But we cannot manage to make it work for supplier consigned books. > > Here is the stock configuration we tested: > > WH > |- Storage STO > |- Consignment Supplier S1 (type=supplier) > > Customer (type=customer) > |- Consignment Client C1 (type=storage) > |- Consignment Supplier C1-S1 (type=supplier) > > Having a product move from Consignment Supplier S1 to Customer creates a > supplier invoice line (ie, we sold the item). > Having a product move from Consignment Client C1 to Customer creates a > client invoice line (ie, we sold the item). > Having a product move from Consignment Supplier C1-S1 to Customer > creates no line. We would expect it to create 2: both customer and > client invoice line.
It is not supported and we should not support it. We need to add a constraint that prevent to move from internal shipment to move from supplier to customer because it must first step on a storage location. This is required if we want to compute correct cost. https://bugs.tryton.org/issue7523 > PS: I’m surprised by the asymmetry between customer and client storage > types. Why are consignment client storages to be created below Customer > global location? Supplier consignment locations are created below our > Warehouse, not below the top most Supplier location. Why can’t we > create Client consignment locations below a new Consignment storage that > would not be child of Customer CUS? Customer CUS location seems to me it > contains all sold items. But customer consignment stocks are not sold > yet… I do not understand what is named "client storage". -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20180618103612.GL30646%40kei.