From 3763b60758a0e4a85bdc619880b6c975daf6289e Mon Sep 17 00:00:00 2001 From: liaodanlong Date: Wed, 14 May 2025 10:48:01 +0800 Subject: [PATCH] =?UTF-8?q?sf-=E5=88=B6=E9=80=A0-=E4=BA=A7=E5=93=81-?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E8=AF=A6=E6=83=85=E4=B8=AD-=E5=B7=A5?= =?UTF-8?q?=E8=89=BA=E5=8F=82=E6=95=B0=E6=98=BE=E7=A4=BA=E5=86=85=E5=AE=B9?= =?UTF-8?q?=3D=E6=9C=AA=E5=BD=92=E6=A1=A3=EF=BC=8C=E6=9C=AA=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E4=BA=A7=E5=93=81=E7=9A=84=E5=B7=A5=E8=89=BA=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_dlm_management/views/product_template_management_view.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sf_dlm_management/views/product_template_management_view.xml b/sf_dlm_management/views/product_template_management_view.xml index 672251e4..1b3f8f04 100644 --- a/sf_dlm_management/views/product_template_management_view.xml +++ b/sf_dlm_management/views/product_template_management_view.xml @@ -41,7 +41,9 @@ attrs="{'invisible': [('categ_type', 'not in', ['成品','坯料', '原材料'])],'readonly': [('id', '!=', False)]}"/> + attrs="{'invisible': ['|',('detailed_type', '!=', 'service'),('detailed_type', '=', False)]}" + domain="[('active', '=', 'True'),('outsourced_service_products', '=', 'False')]" + />