From b6e4179923f95e39dce5ba5934edcabf02f104fd 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, 4 Dec 2025 19:35:45 +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/models/property_bills_list.py | 1 -
yuthon_property_approval/views/property_bills_list_views.xml | 3 +--
yuthon_property_approval/wizard/property_bills_wizard.py | 1 -
3 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/yuthon_property_approval/models/property_bills_list.py b/yuthon_property_approval/models/property_bills_list.py
index dea63f2d9..598347026 100644
--- a/yuthon_property_approval/models/property_bills_list.py
+++ b/yuthon_property_approval/models/property_bills_list.py
@@ -13,7 +13,6 @@ class PropertyBillsList(models.Model):
contract_id = fields.Many2one('property.lease.contract', string="合同编号")
lessee_id = fields.Many2one(related="contract_id.lessee_id", string="承租方", store=True)
property_name = fields.Char(related='contract_id.property_name', string="物业信息")
- is_written = fields.Boolean(string="已核销", default=False)
def action_pay(self):
return {
diff --git a/yuthon_property_approval/views/property_bills_list_views.xml b/yuthon_property_approval/views/property_bills_list_views.xml
index ad58d3419..50aa5869a 100644
--- a/yuthon_property_approval/views/property_bills_list_views.xml
+++ b/yuthon_property_approval/views/property_bills_list_views.xml
@@ -13,8 +13,7 @@
-
-
+
diff --git a/yuthon_property_approval/wizard/property_bills_wizard.py b/yuthon_property_approval/wizard/property_bills_wizard.py
index db4f69e92..f05ecd118 100644
--- a/yuthon_property_approval/wizard/property_bills_wizard.py
+++ b/yuthon_property_approval/wizard/property_bills_wizard.py
@@ -17,7 +17,6 @@ class PropertyBillsWizard(models.TransientModel):
if receivable:
receivable.write({'has_date': self.actual_date})
self.bills_list_id.contract_id.contact_state = 'settle'
- self.bills_list_id.is_written = True
self.bills_list_id.contract_id.compute_is_has()