diff --git a/yuthon_property_approval/wizard/property_bills_wizard.py b/yuthon_property_approval/wizard/property_bills_wizard.py index 645f5fd9e..d5a6626f7 100644 --- a/yuthon_property_approval/wizard/property_bills_wizard.py +++ b/yuthon_property_approval/wizard/property_bills_wizard.py @@ -25,7 +25,7 @@ class PropertyBillsWizard(models.TransientModel): self.bills_list_id.actual_date = self.actual_date self.bills_list_id.pay_state = 'paid' receivable = self.env['property.accounts.receivable'].search([('contract_id', '=', self.bills_list_id.contract_id.id), - ('management_type_id', '=', self.bills_list_i.management_type_id.id) + ('management_type_id', '=', self.bills_list_id.management_type_id.id) ]) if receivable: receivable.write({'has_date': self.actual_date,