From e5844df5eee8b5fc7dff9ea8a7b3106970eaad52 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Fri, 3 Jan 2025 17:33:43 +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_lease_contract.py | 1 + yuthon_property_approval/views/property_lease_contract.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/yuthon_property_approval/models/property_lease_contract.py b/yuthon_property_approval/models/property_lease_contract.py index fe2bff302..ecf007beb 100644 --- a/yuthon_property_approval/models/property_lease_contract.py +++ b/yuthon_property_approval/models/property_lease_contract.py @@ -84,6 +84,7 @@ class PropertyLeaseContract(models.Model): rent = fields.Float(string="租金", help='第一笔合同的应收') total_contract_receivables = fields.Float(string="合同总应收") tax_rate = fields.Many2one('yuthon.tariff.setting', string="税率") + use_address = fields.Char(string="使用地址", default=lambda self: self.name) not_tax_amount = fields.Float(string="不含税价") tax = fields.Float(string="税金") is_water = fields.Boolean(string="是否有水费") diff --git a/yuthon_property_approval/views/property_lease_contract.xml b/yuthon_property_approval/views/property_lease_contract.xml index c6f403273..92a72ef99 100644 --- a/yuthon_property_approval/views/property_lease_contract.xml +++ b/yuthon_property_approval/views/property_lease_contract.xml @@ -51,6 +51,7 @@ +