On 29 Apr 05:34, Axel Braun wrote:
> 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. 

How can you know that?

> If not, only the amount that relates to the stock is charged to the stock, 
> the rest goes to the price difference account.

I don't understand.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Reply via email to