添加功能

This commit is contained in:
zhou
2025-01-09 15:02:45 +08:00
parent 2b28f3a97a
commit c3e5e894e0
@@ -370,7 +370,7 @@ class PropertyLeaseContract(models.Model):
record.first_year_rent = all_period_rent
def do_generate_details_core(self, write_db=False, start_date, end_date):
def do_generate_details_core(self, write_db=False, start_date=None, end_date=None):
all_period_rent = 0
monthly_amount = self.total_area * self.unit_price