From a783f9c271c150f0f47fca78243f8d733528d27f Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Fri, 29 Nov 2024 14:32:58 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=86=85=E9=83=A8?= =?UTF-8?q?=E8=BD=AC=E8=B4=A6=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_plan_management/i18n/zh_CN.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sf_plan_management/i18n/zh_CN.po b/sf_plan_management/i18n/zh_CN.po index 20b7f9f3..8863c213 100644 --- a/sf_plan_management/i18n/zh_CN.po +++ b/sf_plan_management/i18n/zh_CN.po @@ -15907,7 +15907,7 @@ msgstr "内部参考" #: model_terms:ir.ui.view,arch_db:account.account_journal_dashboard_kanban_view #, python-format msgid "Internal Transfer" -msgstr "内部转账" +msgstr "厂内出入库" #. module: account #: model:ir.model.fields,field_description:account.field_res_config_settings__transfer_account_id From 8d461e61b378510d360926fff0da3147aacc16ee Mon Sep 17 00:00:00 2001 From: hy <123@qq.com> Date: Fri, 29 Nov 2024 14:37:48 +0800 Subject: [PATCH 02/13] =?UTF-8?q?=E7=94=98=E7=89=B9=E5=9B=BE=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_gantt/static/src/js/gantt_row.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_gantt/static/src/js/gantt_row.js b/web_gantt/static/src/js/gantt_row.js index fb7ffab7..cae52879 100644 --- a/web_gantt/static/src/js/gantt_row.js +++ b/web_gantt/static/src/js/gantt_row.js @@ -602,7 +602,7 @@ var GanttRow = Widget.extend({ // pill._color = self._getColor(pill[self.colorField]); // 设置pill背景颜色2 修改时间2024年6月25日17:09:43 let isDelay = false - if(pill.state != 'processing' && pill.state != 'finished') { // 判断待加工 + if(pill.state != 'processing' && pill.state != 'finished' && pill.order_deadline) { // 判断待加工 isDelay = pill.order_deadline.isBefore(new Date()) } if(isDelay) { From 1f1bdd08ed8fad993c8b2c7f82a05d20bf062b1e Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Fri, 29 Nov 2024 15:59:04 +0800 Subject: [PATCH 03/13] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E6=A6=82=E8=A7=88=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_plan_management/i18n/zh_CN.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sf_plan_management/i18n/zh_CN.po b/sf_plan_management/i18n/zh_CN.po index 8863c213..91b32d41 100644 --- a/sf_plan_management/i18n/zh_CN.po +++ b/sf_plan_management/i18n/zh_CN.po @@ -16133,7 +16133,7 @@ msgstr "库存概览" #. module: stock #: model:ir.actions.act_window,name:stock.stock_picking_type_action msgid "Internal Transfers" -msgstr "厂内出入库" +msgstr "库存概览" #. module: stock #: model:ir.model.fields,field_description:stock.field_stock_quant__inventory_quantity_set From dc68ecb58439cd47f8bd27a19678f18fa36bfc2d Mon Sep 17 00:00:00 2001 From: hy <123@qq.com> Date: Fri, 29 Nov 2024 16:26:32 +0800 Subject: [PATCH 04/13] =?UTF-8?q?=E8=AE=A1=E5=88=92=E6=8E=92=E7=A8=8B?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=92=8C=E5=B7=A5=E5=8D=95=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E9=A1=B9=E5=92=8C=E6=95=B0=E9=87=8F=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=87=8D=E5=8F=A0=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jikimo_frontend/static/src/scss/custom_style.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jikimo_frontend/static/src/scss/custom_style.scss b/jikimo_frontend/static/src/scss/custom_style.scss index 8eb76259..6904dbac 100644 --- a/jikimo_frontend/static/src/scss/custom_style.scss +++ b/jikimo_frontend/static/src/scss/custom_style.scss @@ -536,3 +536,7 @@ div:has(.o_required_modifier) > label::before { position: unset; } +// 修复搜索面板checkbox样式 +.o_search_panel .form-check .form-check-label span { + position: relative; +} \ No newline at end of file From 7025bde56e2bf7461b2bcdcea2ff072d99df342c Mon Sep 17 00:00:00 2001 From: yuxianghui <3437689193@qq.com> Date: Mon, 2 Dec 2024 13:46:20 +0800 Subject: [PATCH 05/13] =?UTF-8?q?=E9=9A=90=E8=97=8F=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E8=BF=94=E5=B7=A5=E6=8A=A5=E5=BA=9F=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_manufacturing/models/mrp_workorder.py | 2 +- sf_manufacturing/views/mrp_workorder_view.xml | 2 +- sf_quality/models/quality_cnc_test.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sf_manufacturing/models/mrp_workorder.py b/sf_manufacturing/models/mrp_workorder.py index 7bd9d1c8..4ea08f94 100644 --- a/sf_manufacturing/models/mrp_workorder.py +++ b/sf_manufacturing/models/mrp_workorder.py @@ -126,7 +126,7 @@ class ResMrpWorkOrder(models.Model): Y10_axis = fields.Float(default=0) Z10_axis = fields.Float(default=0) X_deviation_angle = fields.Integer(string="X轴偏差度", default=0) - test_results = fields.Selection([("合格", "合格"), ("返工", "返工"), ("报废", "报废")], default='合格', + test_results = fields.Selection([("合格", "合格")], default='合格', string="检测结果", tracking=True) cnc_ids = fields.One2many("sf.cnc.processing", 'workorder_id', string="CNC加工程序") cmm_ids = fields.One2many("sf.cmm.program", 'workorder_id', string="CMM程序") diff --git a/sf_manufacturing/views/mrp_workorder_view.xml b/sf_manufacturing/views/mrp_workorder_view.xml index 13fff868..be1a6523 100644 --- a/sf_manufacturing/views/mrp_workorder_view.xml +++ b/sf_manufacturing/views/mrp_workorder_view.xml @@ -200,7 +200,7 @@ -