I am working on a database (Odoo 14, hosted on Odoo.sh) that has about 40,000 draft journal entries that were automatically created as part of a custom workflow. I want to delete (or cancel) these draft entries. But doing so from the listviews takes a lot of time and the page times out after 10-12 minutes. Is there a better way to do this.
I am not able to cancel these Journal Entries because I get an error as follows.