Skip to Content
Menu
This question has been flagged

I know that Odoo has evolved the Inventory Valuation feature.

We are using real-time valuation and still want the journal entries that update the value of the assets being received and delivered.

Is there a way to have Odoo still create these?

Avatar
Discard
Best Answer

Yes.

You can create a Scheduled Action to run before midnight right at the end of each day:

companies = model.search([('inventory_valuation','=','real_time')])
for company in companies:
    company.action_close_stock_valuation(at_date=datetime.datetime.today(), auto_post=True)


This has the same effect as manually clicking GENERATE ENTRY from the new Inventory Valuation report:


Note: if you need further information about the changes we have made, please review:

https://www.odoo.com/documentation/19.0/applications/inventory_and_mrp/inventory/inventory_valuation/cheat_sheet.html



Avatar
Discard
Related Posts Replies Views Activity
1
Nov 24
23456
3
Jan 18
15404
2
Oct 25
596
2
Oct 25
711
0
Feb 20
4020