From e44778e1838e5ffef4e27550068918d0f1c57fcf 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: Fri, 21 Nov 2025 18:11:38 +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_maintain/views/property_device_repair_views.xml | 7 ++-----
yuthon_property/models/property_accounts_receivable.py | 2 ++
.../views/property_accounts_receivable_views.xml | 4 ++++
yuthon_property_approval/wizard/print_payment_wizard.py | 3 +++
4 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/yuthon_maintain/views/property_device_repair_views.xml b/yuthon_maintain/views/property_device_repair_views.xml
index 618f7082c..72c1179e8 100644
--- a/yuthon_maintain/views/property_device_repair_views.xml
+++ b/yuthon_maintain/views/property_device_repair_views.xml
@@ -48,14 +48,11 @@
+
-
+
-
-
-
-
diff --git a/yuthon_property/models/property_accounts_receivable.py b/yuthon_property/models/property_accounts_receivable.py
index faa678630..e2fb6827a 100644
--- a/yuthon_property/models/property_accounts_receivable.py
+++ b/yuthon_property/models/property_accounts_receivable.py
@@ -30,6 +30,8 @@ class PropertyAccountsReceivable(models.Model):
create_time = fields.Datetime(string='创建时间', default=fields.Datetime.now)
is_reconciliation = fields.Boolean(string='对账')
difference_amount = fields.Float(string='差额')
+ print_date = fields.Date(string='打印日期')
+ print_number = fields.Integer(string='打印次数')
delivered1 = fields.Float(string='已交')
is_has = fields.Boolean(string='已退押金')
has_date = fields.Date(string='退押金日期')
diff --git a/yuthon_property/views/property_accounts_receivable_views.xml b/yuthon_property/views/property_accounts_receivable_views.xml
index 8fa8548fe..2c1804eb4 100644
--- a/yuthon_property/views/property_accounts_receivable_views.xml
+++ b/yuthon_property/views/property_accounts_receivable_views.xml
@@ -30,6 +30,10 @@
+
+
+
+
diff --git a/yuthon_property_approval/wizard/print_payment_wizard.py b/yuthon_property_approval/wizard/print_payment_wizard.py
index 57828a5d8..0d5bb5a3f 100644
--- a/yuthon_property_approval/wizard/print_payment_wizard.py
+++ b/yuthon_property_approval/wizard/print_payment_wizard.py
@@ -52,6 +52,9 @@ class PrintPaymentWizard(models.Model):
receivable_lines = self.contract_id.receivable_ids.filtered(
lambda line: start_date <= line.due_date <= end_date
)
+ for line in receivable_lines:
+ line.print_date = today
+ line.number +=1
report_data = {
'contract': self.contract_id,
'selected_year': self.select_year,