You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that the module updates the ''price_unit'' field of stock_move. I would say it will be more correct to update the "cost" field in stock_quant. I have customized MRP updating "cost" during post_inventory and so my stock valuation is correct for manufactured products (instead of 0) and as soon as they are consumed Odoo updates the cost price of the product automatically.
for quant in move.quant_ids:
cost =... # our calculation here
quant.write({'cost':cost})
The text was updated successfully, but these errors were encountered:
I see that the module updates the ''price_unit'' field of stock_move. I would say it will be more correct to update the "cost" field in stock_quant. I have customized MRP updating "cost" during post_inventory and so my stock valuation is correct for manufactured products (instead of 0) and as soon as they are consumed Odoo updates the cost price of the product automatically.
The text was updated successfully, but these errors were encountered: