添加功能

This commit is contained in:
zhou
2025-01-08 11:19:54 +08:00
parent 687b4153d3
commit fa86d4b31c
2 changed files with 3 additions and 3 deletions
@@ -94,8 +94,8 @@ class PropertyLeaseContract(models.Model):
is_split = fields.Boolean(string="是否合同拆分")
split_context = fields.Char(string="拆分内容", default="该合同已拆分")
percentage_liquidated_damages = fields.Many2one('yuthon.penalty.setting', string="违约金比例")
date_payment_month = fields.Char(string="支付日期")
date_payment_day = fields.Char(string="支付日期")
date_payment_month = fields.Integer(string="支付日期")
date_payment_day = fields.Integer(string="支付日期")
first_pay = fields.Date(string="首次付款日")
unit_price = fields.Float(string="单价")
deposit_type = fields.Selection([('deposit', '押金'), ('performance', '履约保证金')], string="押金/履约保证金")
@@ -8,7 +8,7 @@
<sheet>
<group>
<group>
<field name="lease_contract_id"/>
<field name="lease_contract_id" invisible="1"/>
<field name="property_ids" widget="many2many_tags"/>
</group>
<group/>