On Friday, July 4, 2014 3:42:28 PM UTC+2, Cédric Krier wrote: > > On 04 Jul 05:46, Michal wrote: > > Hi, > > I'm testing Tryton in a production company and I have a few > > questions about cost_price and cost_price_method used in product, > > product_cost_fifo, account_product and account_stock_continental. > > > > Cost_price_method could be fixed, average and fifo. > > Cost_price is a part of a product.template model. > > > > First consequence I have noticed is that calculating amount > > in stock move lines we have always one price for a product in a whole > > company. > > Is there a possibility to have different cost prices in different > > warehouses ? > > For example I can have 2 warehouses in 2 departments of my > > company, each of them in different city. If I have the same product > in > > both of them and I make a move from supplier or production to one > > of them the cost_price is changing in both of them (cost_price_method > = > > average). > > Accordingly there is a need to have different account_stock value for > the > > same product in different warehouses. > > This is not supported by Tryton for now. But it could be an improvement > to add a extra computation of cost price per warehouse. > OK
> > > Second consequence is that when I make 2 moves from supplier or > > production > > to warehouse in different prices (cost_price_method = fifo) > cost_price > > on product form is not displayed properly. > > Why is there any value ? Could it be a list of a current > fifo_quantities > > like in product.template.get_fifo_move() instead of showing a value. > > I don't understand. > Example with cost price method = fifo: Supplier Shipement Quantity Price Product_1 5.00 5.00 Product_1 5.00 10.00 On Product form you can see: Cost Price 5.00 <- what for ? it is misleading Regards Filip > > -- > Cédric Krier - B2CK SPRL > Email/Jabber: cedric...@b2ck.com <javascript:> > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ >