Deletion is not permitted for country France

Hello dear colleagues,

I just installed Frappe Framework: v11.1.4 (master).
I installed SSL and switched to developer mode.

I want to delete canceled invoices as I did in the previous version, but it is impossible to do (see screenshot attached) because the new version complies with the French regulations on accounting.

It display : Deletion is not permitted for country France

Do you have any idea how I can allow the deletion of these invoices? Your help would be greatly appreciated. :slight_smile:

@chdecultot should be able to help :wink:

Thank @rmeyer!

Hi @YannCoppryDigital,

If your system’s country is France, you simply can’t from the user interface… We can’t have this option if we want any user to be able to use it as a compliant accounting system at some point in the near future.

If you really don’t want it, you can always disable the regional hooks in the hooks.py file and that will simply override this validation.

Have a nice evening!

1 Like