From fa86d4b31cdc34e4d7bdbf58ba13c01db3736d10 Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Wed, 8 Jan 2025 11:19:54 +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 | 4 ++-- .../wizard/choose_contract_wizard_views.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/yuthon_property_approval/models/property_lease_contract.py b/yuthon_property_approval/models/property_lease_contract.py index dc209c237..6c2050745 100644 --- a/yuthon_property_approval/models/property_lease_contract.py +++ b/yuthon_property_approval/models/property_lease_contract.py @@ -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="押金/履约保证金") diff --git a/yuthon_property_approval/wizard/choose_contract_wizard_views.xml b/yuthon_property_approval/wizard/choose_contract_wizard_views.xml index 6cb5b970d..3b84e7fdf 100644 --- a/yuthon_property_approval/wizard/choose_contract_wizard_views.xml +++ b/yuthon_property_approval/wizard/choose_contract_wizard_views.xml @@ -8,7 +8,7 @@ - +