Tryton - Issues

 

Message39516

Author ced
Recipients mrichez, tbruyere
Date 2018-03-28.20:14:23
Content
I do not think it should be managed exactly like the landed cost.
Here we have to change the unit price, it is not something that is added to it.
The module account_invoice_stock provide already a list of all invoice lines so it will be possible to compute an average unit price for the move. Even if the same invoice line is linked to multiple stock moves, the average will globally result in the same stock amount.

I think account_invoice_stock, when posting the invoice, could update the unit_price of the linked moves by computing the average from all the stock moves linked. It should take care that it may need to add the landed cost if the module is installed.
History
Date User Action Args
2018-03-28 20:14:24cedsetmessageid: <1522260864.04.0.755541425892.issue7280@tryton.org>
2018-03-28 20:14:24cedsetrecipients: + tbruyere, mrichez
2018-03-28 20:14:24cedlinkissue7280 messages
2018-03-28 20:14:23cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)