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 @@ +