A Diumenge, 18 de desembre de 2011 14:02:51, Cédric Krier va escriure: > On 18/12/11 08:45 +0100, Albert Cervera i Areny wrote: > > A Diumenge, 18 de desembre de 2011 00:08:36, Cédric Krier va escriure: > > > On 17/12/11 23:55 +0100, Albert Cervera i Areny wrote: > > > > > Also such module (using a product for kit) will not be compatible > > > > > with account_stock_* modules. > > > > > > > > Have taken a look at those modules but can't figure out why it should > > > > not be compatible. If for a given use case, "Kit A" does not have a > > > > value itself (it's just a shortcut for adding P1, P2 and P3 to the > > > > order), then the cost price of "Kit A" should be zero, shouldn't it? > > > > What am I missing? > > > > > > So it is what I'm saying, the kit is not a product because you must put > > > a price of 0 to not have it on invoice, shipment etc. > > > I see it like a "subtotal" kind of line but on top. > > > > No. You may want to have it in invoice, sometimes is the line containing > > the sale price and its price is not the sum of all its components. Thus > > you also need to be able to apply price list rules to it. You may also > > want to put it in a shipment because in some use cases the customer > > knows about the kit only and you don't want him to see its contents (in > > other cases yes). > > So in such case, it is not compatible with account_stock_* module.
As far as I have seen it would be incompatible with account_stock_anglo_saxon which it seems to be the one that uses a list_price value. I think it would be compatible with account_stock_continental because this one only uses the cost_price. Will give it some thought to try to find out a decent solution. Thanks for the feedback! -- Albert Cervera i Areny http://www.NaN-tic.com Tel: +34 93 553 18 03 http://twitter.com/albertnan http://www.nan-tic.com/blog -- tryton-dev@googlegroups.com mailing list