From ad7ce458a388172fe5dd3f315852d61c7e7b17d4 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, 17 Jun 2026 17:50:30 +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 --- yuthon_property_approval/wizard/property_bills_wizard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yuthon_property_approval/wizard/property_bills_wizard.py b/yuthon_property_approval/wizard/property_bills_wizard.py index 764787fc7..37031d2b2 100644 --- a/yuthon_property_approval/wizard/property_bills_wizard.py +++ b/yuthon_property_approval/wizard/property_bills_wizard.py @@ -15,6 +15,7 @@ class PropertyBillsWizard(models.TransientModel): ('due_date', '<=', self.bills_list_id.due_date), ('contract_id', '=', self.bills_list_id.contract_id.id), ('is_invalid', '=', False), + ('submitted', '>', 0.0), ]) if any(not receivable.is_reconciliation for receivable in receivable_ids): raise UserError("该合同下存在未对账的应收单,无法退金额")