Re: [tryton] cost price and cost price method

2014-07-07 Thread Cédric Krier
On 07 Jul 01:06, Michal wrote: This is the average of the remaining product of the fifo stack. Oops, no it is the next cost price out of the fifo stack. I should really read more carefully the code. It is the average see the test scenario:

Re: [tryton] cost price and cost price method

2014-07-07 Thread Cédric Krier
On 07 Jul 02:52, Michal wrote: Thanks for a quick answer, but your scenario is working while mine is not. As I understand cost_price is a calculation of average prices of what is not consumed yet (it is ok for me) I do the following tests: Test 1) Supplier Shipment

Re: [tryton] cost price and cost price method

2014-07-04 Thread Dominique Chabord
2014-07-04 14:46 GMT+02:00 Michal michal.s...@gmail.com: Accordingly there is a need to have different account_stock value for the same product in different warehouses. do you mean stock value increases when you move a product from location 1 to location 2 and decreases if you move it

Re: [tryton] cost price and cost price method

2014-07-04 Thread Cédric Krier
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

Re: [tryton] cost price and cost price method

2014-07-04 Thread Michal
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

Re: [tryton] cost price and cost price method

2014-07-04 Thread Cédric Krier
On 04 Jul 16:34, Cédric Krier wrote: On 04 Jul 07:02, Michal wrote: 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.