跳至内容
菜单
此问题已终结

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?

形象
丢弃
最佳答案

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



形象
丢弃
相关帖文 回复 查看 活动
1
11月 24
23529
3
1月 18
15438
2
10月 25
684
2
10月 25
762
0
2月 20
4057