Files
odoo_source/addons/l10n_fr_pos_cert
Joseph Caburnay d5390deba9 [FIX] l10n_fr_pos_cert: should only prevent on explicit order deletion
It's not allowed to delete order for french certification which was
supposed to be fixed here: 46ffe6d3fba3baf1d84af732feaac71dabaaf35f
However, it introduced another problem of not being able to delete
the finalized/validated orders. It's because the check of preventing
the deletion, we are not discriminating the validated order. This
commit fixes the issue by only applying the rule on orders that are
being explicitly deleted (reason of deletion is "abandon").

closes odoo/odoo#81289

Ticket-id: 2710892
X-original-commit: d477be7cd5f7820ea6925dcfb42a26e67977b052
Signed-off-by: Masereel Pierre <pim@odoo.com>
2021-12-13 11:32:57 +00:00
..
…