Hi Cedric,

Am Mittwoch, 29. April 2015 13:15:04 UTC+2 schrieb Cédric Krier:
 

> I also needed to implement a way to re-compute the cost price of a 
> product: https://bugs.tryton.org/issue4729 
> The current implementation is quite naive as it re-compute from the 
> first move. We will see if we need to improve this computation and if so 
> I already put some idea on the issue. 
>
>
I dont think that a recompute is required. Common practice is (as described 
before):
--
I think you need to consider for which quantity of material the subsequent 
charge applies:
If the quantity is still on stock, fine, you can recalculate accordingly. 
If not, only the amount that relates to the stock is charged to the stock, 
the rest goes to the price difference account.
--
In both cases no recalc is required.
 

Reply via email to