[NEW] account_move_protect_deleting #11
Reference in New Issue
Block a user
No description provided.
Delete Branch "16.0-account_move_protect_deleting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Check other comments.
Add possibility to remove account move if we are in developer mode (cause in developer mode we can also resequence an invoice)
@@ -0,0 +2,4 @@
account_move_protect_deleting
===============
Forbid to delete an invoice that has been already validated
validated -> posted
@@ -0,0 +1,15 @@
from odoo import models, api, _
use the word "posted" instead of "validated" ("Confirmée" à la place de "Validée")
Why the name of the function is _check_name ? should it be check_posted ?