From 303fcd04301f56759efa4b5b4ce68c5754273649 Mon Sep 17 00:00:00 2001 From: liaodanlong Date: Thu, 16 Jan 2025 11:24:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=87=E8=B4=AD=E5=8D=95?= =?UTF-8?q?=E9=9D=9E=E8=AF=A2=E4=BB=B7=E7=8A=B6=E6=80=81=E5=8F=AA=E8=AF=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_manufacturing/views/purchase_order_view.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sf_manufacturing/views/purchase_order_view.xml b/sf_manufacturing/views/purchase_order_view.xml index 2b008b56..68a6864a 100644 --- a/sf_manufacturing/views/purchase_order_view.xml +++ b/sf_manufacturing/views/purchase_order_view.xml @@ -4,8 +4,14 @@ purchase.order.form.inherit.sf purchase.order - + + + {'readonly': [('state', '!=', 'draft')]} + +