Skip to content

Commit

Permalink
16.0 FIX Failing withholding
Browse files Browse the repository at this point in the history
Al calcular la retencion falla porque esta sumando tuplas con un recordset
  • Loading branch information
jobiols committed Oct 31, 2023
1 parent c305408 commit 0b69c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_withholding/models/account_payment.py
Expand Up @@ -39,7 +39,7 @@ def _get_valid_liquidity_accounts(self):
[('company_id', '=', self.company_id.id), '|',
('invoice_tax_id.type_tax_use', 'in', ['supplier', 'customer']),
('refund_tax_id.type_tax_use', 'in', ['supplier', 'customer'])])
res |= rep_lines.mapped('account_id')
res += tuple(rep_lines.mapped('account_id'))

return res

Expand Down

0 comments on commit 0b69c06

Please sign in to comment.