From 33dc25f400bebeb710528cb1d2d3b3f165c494f0 Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Mon, 4 Mar 2024 09:18:12 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B4=A8=E9=87=8F?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E7=BF=BB=E8=AF=91=EF=BC=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=BF=85=E5=A1=AB=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_quality/__manifest__.py | 2 +- sf_quality/views/view.xml | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/sf_quality/__manifest__.py b/sf_quality/__manifest__.py index cec1a0f9..c41e1a24 100644 --- a/sf_quality/__manifest__.py +++ b/sf_quality/__manifest__.py @@ -16,7 +16,7 @@ 'depends': ['quality_control'], 'data': [ 'security/ir.model.access.csv', - # 'views/view.xml' + 'views/view.xml' ], 'assets': { diff --git a/sf_quality/views/view.xml b/sf_quality/views/view.xml index ab4208ed..fcbfe71c 100644 --- a/sf_quality/views/view.xml +++ b/sf_quality/views/view.xml @@ -6,6 +6,8 @@ quality.alert + + @@ -44,6 +46,26 @@ groups="sf_base.group_quality_director" class="oe_highlight"/> + + + + + custom_required + + + + + + sf.quality.point.form.inherit.sf + quality.point + + + + custom_required + + + custom_required + From b7be5251b8a27d952823b5fcb7b31378566ecb5c Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Mon, 4 Mar 2024 09:45:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A4=84=E7=90=86=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=8C=89=E9=92=AE=E5=B1=95=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_manufacturing/security/ir.model.access.csv | 2 ++ sf_sale/views/purchase_order_view.xml | 30 ++++++++++++------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/sf_manufacturing/security/ir.model.access.csv b/sf_manufacturing/security/ir.model.access.csv index c3fceb02..632b6030 100644 --- a/sf_manufacturing/security/ir.model.access.csv +++ b/sf_manufacturing/security/ir.model.access.csv @@ -126,3 +126,5 @@ access_sf_cmm_program_group_plan_dispatch,sf_cmm_program_group_plan_dispatch,mod access_mrp_workcenter_productivity,mrp.workcenter.productivity,mrp.model_mrp_workcenter_productivity,sf_base.group_plan_dispatch,1,0,0,0 access_maintenance_equipment_tool_group_plan_dispatch,maintenance.equipment.tool,sf_manufacturing.model_maintenance_equipment_tool,sf_base.group_plan_dispatch,1,0,0,0 + +access_sf_workpiece_delivery_group_plan_dispatch,sf.workpiece.delivery,sf_manufacturing.model_sf_workpiece_delivery,sf_base.group_plan_dispatch,1,0,0,0 \ No newline at end of file diff --git a/sf_sale/views/purchase_order_view.xml b/sf_sale/views/purchase_order_view.xml index 844d9c92..30883841 100644 --- a/sf_sale/views/purchase_order_view.xml +++ b/sf_sale/views/purchase_order_view.xml @@ -23,21 +23,24 @@