From d3316263860c8770054a26f4537d081461966744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Wed, 12 Nov 2025 10:23:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/src/views/form/form_controller.xml | 56 ++++++------------- .../wizard/penalty_line_wizard.py | 1 - 2 files changed, 18 insertions(+), 39 deletions(-) diff --git a/sh_backmate_theme_adv_enterprise/static/src/views/form/form_controller.xml b/sh_backmate_theme_adv_enterprise/static/src/views/form/form_controller.xml index 2ff271fb2..fa593d3a2 100644 --- a/sh_backmate_theme_adv_enterprise/static/src/views/form/form_controller.xml +++ b/sh_backmate_theme_adv_enterprise/static/src/views/form/form_controller.xml @@ -1,48 +1,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + "o_form_status_indicator_buttons d-flex invisible" + + - + - + - +
+ + +
- - - - o_control_panel d-flex flex-column gap-3 gap-lg-1 px-3 pt-2 pb-3 #{env.isSmall ? ' - - -
\ No newline at end of file diff --git a/yuthon_property_approval/wizard/penalty_line_wizard.py b/yuthon_property_approval/wizard/penalty_line_wizard.py index 908f0c266..026dee54b 100644 --- a/yuthon_property_approval/wizard/penalty_line_wizard.py +++ b/yuthon_property_approval/wizard/penalty_line_wizard.py @@ -78,7 +78,6 @@ class PenaltyLineWizard(models.Model): modify_lines = self.env['receivable.modify.line'].search([ ('receivable_id', '=', receivable.id), ('reconciliation_date', '!=', False), - ('is_penalty', '=', False) ], order='reconciliation_date asc') new_penalty_lines = []