From 4d4b0098ceb9842466298038396f13b8332b64ec Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Fri, 3 Feb 2023 10:32:53 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_machine_connect/__manifest__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sf_machine_connect/__manifest__.py b/sf_machine_connect/__manifest__.py index 9ac2d10f..646a9403 100644 --- a/sf_machine_connect/__manifest__.py +++ b/sf_machine_connect/__manifest__.py @@ -2,14 +2,16 @@ # Part of Odoo. See LICENSE file for full copyright and licensing details. { 'name': '机企猫智能工厂 对接机床', - 'version': '2.0', + 'version': '1.0', 'summary': 'sf_machine_connect', 'sequence': 10, 'description': """ -这是一个模块 +这是一个连接机床的模块 ==================== """, 'category': 'sf', + 'author': 'jikimo', + 'website': 'https://sf.cs.jikimo.com', 'depends': ['sf_base', 'sf_manufacturing', 'barcodes', ], 'data': [ # 定义权限组放在最上面 From a4bee8bb6b15000de05c349d4e75233f50b4810c Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Fri, 3 Feb 2023 17:10:31 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_manufacturing/views/mrp_workorder_view.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sf_manufacturing/views/mrp_workorder_view.xml b/sf_manufacturing/views/mrp_workorder_view.xml index 4cd11b5d..6ac02471 100644 --- a/sf_manufacturing/views/mrp_workorder_view.xml +++ b/sf_manufacturing/views/mrp_workorder_view.xml @@ -13,8 +13,14 @@ - + + + + + + + {'invisible': ['|', '|', '|','|', ('production_state','in', ('draft', 'done', 'cancel')), ('working_state', '=', 'blocked'), ('state', 'in', ('done', 'cancel')), @@ -123,7 +129,7 @@ - +