Help

欢迎!

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


0

Mass Delete Data (Draft Journal Entries) [Odoo14]

Avatar
odoo
Avatar
Discard
1 Answer
0
Avatar
odoo
Best Answer

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.

Avatar
Discard