From e612fcdd39a13f9e278141df5be839ddab3057ce 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: Thu, 11 Jun 2026 10:16:51 +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 --- soong_workflow/wizard/soong_workflow_comment_wizard_view.xml | 2 +- .../wizard/property_reconciliation_wizard.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/soong_workflow/wizard/soong_workflow_comment_wizard_view.xml b/soong_workflow/wizard/soong_workflow_comment_wizard_view.xml index dbb9e39b5..e3b64b642 100644 --- a/soong_workflow/wizard/soong_workflow_comment_wizard_view.xml +++ b/soong_workflow/wizard/soong_workflow_comment_wizard_view.xml @@ -145,7 +145,7 @@ + invisible="not is_avoid" options="{'no_create': True}" domain="[('id', 'in', allowed_issue_ids)]"/> diff --git a/yuthon_property_approval/wizard/property_reconciliation_wizard.py b/yuthon_property_approval/wizard/property_reconciliation_wizard.py index e59591c30..58f43853b 100644 --- a/yuthon_property_approval/wizard/property_reconciliation_wizard.py +++ b/yuthon_property_approval/wizard/property_reconciliation_wizard.py @@ -453,8 +453,6 @@ class PropertyReconciliationWizard(models.Model): if not source_receivable and existing_record: source_receivable = existing_record[:1].source_receivable_id or existing_record[:1]._resolve_source_receivable() is_reconciliation = round(line.amount, 2) == round(line.rent, 2) - receivable_id = self.env['property.accounts.receivable'] - if not existing_record and is_create: receivable_id = self.env['property.accounts.receivable'].create({ 'is_reconciliation': is_reconciliation,