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                                 Account move
> Line No                 Quantity  Price           Debit   Credit
> ------------------------------------------------------------------
>   1      Product_1        5.00       5.00           25.00    25.00
>   2      Product_1        5.00      10.00           50.00    50.00
> 
> Customer Shipment                                  Account move
>  Line No                 Quantity  Price           Debit   Credit
> ------------------------------------------------------------------
>   1      Product_1        7.00       fifo           45.00    45.00 
> 
> 
> Cost Price  3.75 <---- WRONG PRICE
> ----------------------------------

There is probably a bug when same product is on many lines.
Please report it and even better with a test scenario.

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

Attachment: pgpGPDfLv6GlJ.pgp
Description: PGP signature

Reply via email to