mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-26 15:32:01 +02:00
19.0 vanilla
This commit is contained in:
parent
e1d89e11e3
commit
a1f02d8cc7
225 changed files with 2335 additions and 775 deletions
|
|
@ -20,9 +20,8 @@ class AccountTax(models.Model):
|
|||
WHERE EXISTS(
|
||||
SELECT 1
|
||||
FROM expense_tax AS exp
|
||||
WHERE tax_id IN %s
|
||||
AND account_tax.id = exp.tax_id
|
||||
)
|
||||
WHERE account_tax.id = exp.tax_id
|
||||
) AND id IN %s
|
||||
""", [tuple(taxes_to_compute)])
|
||||
|
||||
used_taxes.update([tax[0] for tax in self.env.cr.fetchall()])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue