From f05301320ccea4804f390b0bfddd6441cb5b1b20 Mon Sep 17 00:00:00 2001 From: yuxianghui <3437689193@qq.com> Date: Sat, 18 May 2024 17:05:39 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E7=BB=84=E8=A3=85=E5=8D=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=8C=89=E6=98=AF=E5=90=A6=E7=BB=84=E8=A3=85=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=EF=BC=9B2=E3=80=81=E4=BF=AE=E6=94=B9=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=88=80=E5=85=B7=E7=BB=84=E8=A3=85=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E4=B8=AD=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD=E5=88=80=E5=85=B7?= =?UTF-8?q?=E4=BA=A7=E5=93=81=E7=9A=84=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_tool_management/models/base.py | 2 +- sf_tool_management/views/functional_tool_views.xml | 4 ++-- sf_tool_management/wizard/wizard.py | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/sf_tool_management/models/base.py b/sf_tool_management/models/base.py index 533df3a6..4a440df6 100644 --- a/sf_tool_management/models/base.py +++ b/sf_tool_management/models/base.py @@ -351,7 +351,7 @@ class CAMWorkOrderProgramKnifePlan(models.Model): class FunctionalToolAssembly(models.Model): _name = 'sf.functional.tool.assembly' _description = '功能刀具组装' - _order = 'use_tool_time asc' + _order = 'assemble_status, use_tool_time asc' @api.depends('functional_tool_name') def _compute_name(self): diff --git a/sf_tool_management/views/functional_tool_views.xml b/sf_tool_management/views/functional_tool_views.xml index a982dca6..ac98a703 100644 --- a/sf_tool_management/views/functional_tool_views.xml +++ b/sf_tool_management/views/functional_tool_views.xml @@ -47,7 +47,7 @@