Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Odoo 19 - Can I automate the stock interim journal entries so my balance sheet is updated?

形象
丢弃
1 答案
0
形象
odoo
最佳答案

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



形象
丢弃