添加功能
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user