From 9be5c337deacf42994d81be7ebf828732fae39d4 Mon Sep 17 00:00:00 2001 From: Lara Date: Tue, 24 Sep 2024 13:22:34 -0300 Subject: [PATCH] [IMP] sale_exception: hide banner if de sale es cancel --- sale_exceptions_ignore_approve/__manifest__.py | 2 +- sale_exceptions_ignore_approve/views/sale_order_views.xml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sale_exceptions_ignore_approve/__manifest__.py b/sale_exceptions_ignore_approve/__manifest__.py index 9819eb953..f705ed685 100644 --- a/sale_exceptions_ignore_approve/__manifest__.py +++ b/sale_exceptions_ignore_approve/__manifest__.py @@ -19,7 +19,7 @@ ############################################################################## { 'name': 'Sale Exceptions Ingore Approve Directly', - 'version': "17.0.1.1.0", + 'version': "17.0.1.2.0", 'category': 'Sale', 'sequence': 14, 'author': 'ADHOC SA', diff --git a/sale_exceptions_ignore_approve/views/sale_order_views.xml b/sale_exceptions_ignore_approve/views/sale_order_views.xml index 20a3e2b41..11d80a920 100644 --- a/sale_exceptions_ignore_approve/views/sale_order_views.xml +++ b/sale_exceptions_ignore_approve/views/sale_order_views.xml @@ -12,6 +12,10 @@ base_exception.group_exception_rule_manager,sales_team.group_sale_manager + state == 'cancel' + + + not exceptions_summary or state == 'cancel'