添加功能

This commit is contained in:
李鹏宇
2025-10-17 17:00:00 +08:00
parent e5acbcf4ed
commit 8dac761676
@@ -39,9 +39,9 @@ class PropertyRentalWizard(models.Model):
if existing_receivable and record.actual_end_time <= start_date:
return
receivable = self.env['property.accounts.receivable'].search({
receivable = self.env['property.accounts.receivable'].search([
('contract_id', '=', record.id),
})
])
if receivable:
acc_type = 'new'
else: