0
1 Answer
0
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.