diff --git a/yuthon_property_approval/models/inherit_yuthon_property.py b/yuthon_property_approval/models/inherit_yuthon_property.py index f119c97ad..d2961c5a0 100644 --- a/yuthon_property_approval/models/inherit_yuthon_property.py +++ b/yuthon_property_approval/models/inherit_yuthon_property.py @@ -424,6 +424,8 @@ class PropertyAccountsReceivable(models.Model): 'contract_id': contract.id, }) contract_account.onchange_contract_id() + else: + contract_account.onchange_contract_id() @api.depends('management_type_id') def _compute_is_rent(self):