diff --git a/yuthon_property_approval/models/property_lease_contract.py b/yuthon_property_approval/models/property_lease_contract.py index 53f7491bf..e8b610075 100644 --- a/yuthon_property_approval/models/property_lease_contract.py +++ b/yuthon_property_approval/models/property_lease_contract.py @@ -75,8 +75,12 @@ class PropertyLeaseContract(models.Model): breach_time = fields.Date(string="违约计算时点") percentage_liquidated_damages = fields.Many2one('yuthon.penalty.setting', string="违约金比例") - date_of_payment = fields.Date(string="每月支付日期") + date_payment_moth = fields.Integer(string="每月支付日期") + date_payment_day = fields.Integer(string="每日支付日期") + first_pay = fields.Date(string="首次付款日") unit_price = fields.Float(string="单价") + is_deposit = fields.Boolean(string="押金") + is_performance_bonds = fields.Boolean(string="履约保证金") deposit = fields.Float(string="押金") performance_bonds = fields.Float(string="履约保证金") performance_bonds_write = fields.Char(string="履约保证金大写") diff --git a/yuthon_property_approval/views/property_lease_contract.xml b/yuthon_property_approval/views/property_lease_contract.xml index afbaab67f..79bc120a7 100644 --- a/yuthon_property_approval/views/property_lease_contract.xml +++ b/yuthon_property_approval/views/property_lease_contract.xml @@ -115,43 +115,35 @@ - + + + + + + + + + + +