From 6b9428c8bf13e28d4dc94c46cde109c7174ae496 Mon Sep 17 00:00:00 2001
From: mgw <1392924357@qq.com>
Date: Mon, 10 Feb 2025 16:38:34 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E7=A7=8D=E7=8A=B6=E6=80=81=E4=B8=8B?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=8B=92=E7=BB=9D=E6=8E=A5=E5=8D=95/?=
=?UTF-8?q?=E5=8F=96=E6=B6=88=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sf_manufacturing/views/sale_order_views.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sf_manufacturing/views/sale_order_views.xml b/sf_manufacturing/views/sale_order_views.xml
index 8e1d1061..aa5bfaa0 100644
--- a/sf_manufacturing/views/sale_order_views.xml
+++ b/sf_manufacturing/views/sale_order_views.xml
@@ -22,11 +22,11 @@
+
+
+
- {'invisible': [('state', '!=', 'draft')]}
-
-
- {'invisible': [('state', '!=', 'draft')]}
+ {'invisible': [('state', 'not in', ['draft', 'supply method', 'sale', 'processing'])]}
{'invisible': ['|','&',('check_status', '!=', 'approved'),('state', 'in', ['draft','cancel','supply method']),'&',('check_status', '=', 'approved'),('state', 'in', ['sale','cancel','supply method'])]}