Skip to content

Commit

Permalink
[FIX] account_interests: change domain
Browse files Browse the repository at this point in the history
partner.active isn't a field and causes an error, partner_id.active is
the correct form

X-original-commit: ebe0d77
  • Loading branch information
ica-adhoc committed Apr 27, 2023
1 parent f9d1b16 commit 27f5947
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion account_interests/models/res_company_interest.py
Expand Up @@ -125,7 +125,8 @@ def _get_move_line_domains(self, to_date):
move_line_domain = [
('account_id', 'in', self.receivable_account_ids.ids),
('full_reconcile_id', '=', False),
('date_maturity', '<', to_date)
('date_maturity', '<', to_date),
('partner_id.active', '=', True),
]
return move_line_domain

Expand Down

0 comments on commit 27f5947

Please sign in to comment.