Skip to Content
Menu
This question has been flagged
1 Reply
12293 Views

Hello!

Please could you help with the question?

Is it possible to avoid the default functionality and DELETE invoices and journal entries related to them in Odoo Online and Enterprise (not to Refund)? I read that it is necessary to install  the module "account_cancel" But i found only this one Cancel Journal Entries   https://www.odoo.com/apps/modules/online/account_cancel/    
I tried to add the app to my Odoo Online Database but it created a separate database.

Could you please explain how to add the functionality to Odoo online (testing it right now) and tune it.

Thank you 

Avatar
Discard
Best Answer

Once an Invoice has been assigned an Invoice Number (field: number) you will get the error "You cannot delete an invoice after it has been validated (and received a number). You can set it back to "Draft" state and modify its content, then re-confirm it.".

To enable Invoices to be deleted you need to both allow cancelling and make this field visible and editable.

Note you are bypassing business logic that was put in place to prevent the deleting of documents that, by law in some countries, is not permitted.  Also, you will end up with gaps in your Invoice sequence (a red flag for auditors).

Avatar
Discard