On 30 Apr 04:33, Axel Braun wrote:
>
>
> Am Donnerstag, 30. April 2015 11:30:03 UTC+2 schrieb Cédric Krier:
> >
> > On 30 Apr 02:12, Axel Braun wrote:
> > >
> > >
> > > Am Mittwoch, 29. April 2015 17:40:03 UTC+2 schrieb Cédric Krier:
> > > >
> > > > On 29 Apr 08:22, Axel Braun wrote:
> > > > >
> > > > >
> > > > > Am Mittwoch, 29. April 2015 15:10:03 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?
> > > > > >
> > > > >
> > > > > By checking the stock quantity?
> > > >
> > > > This doesn't tell me if the actual products are still in the
> > warehouse.
> > > >
> > >
> > > Now I dont understand. Tryton tells you your stock situation, so when
> > you
> > > are having to do what you call a recaluclation, you can check the stock
> > > situation, and it gives you the quantities. Unless you are
> > batch-managed,
> > > it's a dont -care on the product level. Just the quantity is of
> > interest.
> >
> > I think you don't correctly understand what is the "average" cost
> > method. Because the timing of event is very important.
> > It is wrong to add the landed cost to the average cost of a product if
> > the *real* product on which this landed cost applies is no more in the
> > warehouse (and we don't care about just the quantity but the *exact*
> > product).
> >
>
> What is the 'real product'? As explained, as long as you are not working
> with batches it is irrelevant if the product for which the subsequent
> charge applies is in the warehouse, as long as the overall quantity is OK.
> Thinking about it, even with batches it is irrelevant, as the valuation
> level is probably on material, not on batch level.
>
>
> >
> > Example:
> >
> > - I buy 10 products @ 10€
> > - I buy 10 products @ 12€
> > - current average cost: 11€
> > - I sale 10 products
> > - current average cost: 11€
> > - I book landed cost for the first purchase: 1€
> > - current average cost: 11.5€ (not 12€)
> >
>
> Wrong. You just have 10 in stock, not 20. Additionally, in your calculation
So we are talking the same language, I even don't know in which case
you are talking (perperutal inventory or not, continental or
anglo-saxon).
I highly disagree with what you are saying.
Here is the defintion of the cost price:
It is the cost to pay to remake your stock.
The cost are clearly identify on which products they apply. It makes no
sense to put all the cost on the last purchase. Otherwise the cost price
will not have the correct meaning.
> you would have to cancel the posting for the sale @ 11€ and recreate it
> with the new moving average price. I bet no accountant will testify this....
This is even crazier. You will not cancel your sale because you receive
shipment cost invoice later.
--
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/