How to add amount to account_stock if we add a landed cost to a supplier shipment?

accounting

(Maxime Richez) #1

Rational

We use the modules account_stock_continental and account_stock_landed_cost
If we add a landed cost to a supplier shipment and recompute the cost price with the wizard “update_cost_price”, the account_stock is not updated by the new value.

Proposal

Creating a new account_stock move with the value of the landed cost (move_quantity * unit_landed_cost)

Implementation


(Cédric Krier) #2

I do not think it requires a blueprint.
This topic is already discussed at https://bugs.tryton.org/issue7273


(Thierry Bruyere) #3

Yes, it would be possible to impute the difference in value in the account stock via the cost price update with the counterparty account.
We could use the cost update wizard, but it would be necessary to calculate the difference in value between the old cost price and the new cost price.

The topic continues on the issue …