暂时测试

This commit is contained in:
ljmwkx
2025-01-09 00:00:00 +08:00
parent 176a8b2061
commit c26ff5ed5b
@@ -367,6 +367,7 @@ class PropertyLeaseContract(models.Model):
free_start = start_date + relativedelta(months=self.rent_free_period_month)
if free_start > end_date:
free_start = end_date
month_number = (free_start - start_date).days
self.sudo().write({'breakdown_ids': [(0, 0, {
"unit_price": unit_price,
"monthly_amount": monthly_amount,