Odooers论坛

欢迎!

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


0

Mass Delete Data (Draft Journal Entries) [Odoo14]

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

Approach 1:

You can create a specific module for doing so. Write a post_init_hook function for your module to search for drafts and delete them after installing the module. This can be a one-time-only installing module and then you can uninstall it.

Approach 2:

Directly connect to the odoo database shell and write ORM queries to delete data.

形象
丢弃