添加功能
This commit is contained in:
@@ -142,7 +142,7 @@ class PropertyRentalWizard(models.Model):
|
||||
('contract_id', '=', record.id),
|
||||
('due_date', '>=', first_day_of_month),
|
||||
('due_date', '<=', last_day_of_month)
|
||||
],limit=1)
|
||||
], limit=1)
|
||||
if record.contract_sort not in ['guanggao', 'guanzi', 'room']:
|
||||
matched_breakdowns = record.management_breakdown_ids.filtered(lambda b:
|
||||
b.start_data <= last_day_of_month and
|
||||
|
||||
Reference in New Issue
Block a user