Skip to content

Commit

Permalink
[FIX] account: Add tax_repartition_line_id in tax details
Browse files Browse the repository at this point in the history
closes #81062

Related: odoo/enterprise#22782
Signed-off-by: Olivier Colson <oco@odoo.com>
  • Loading branch information
smetl committed Dec 8, 2021
1 parent 82f7655 commit 8dcfdf0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/account/models/account_move_line_tax_details.py
Expand Up @@ -381,6 +381,7 @@ def _get_query_tax_details(self, tables, where_clause, where_params, fallback=Tr
tax_line.tax_line_id AS tax_id,
tax_line.group_tax_id,
tax_line.tax_repartition_line_id,
tax_line.company_id,
comp_curr.id AS company_currency_id,
Expand Down Expand Up @@ -454,6 +455,7 @@ def _get_query_tax_details(self, tables, where_clause, where_params, fallback=Tr
sub.group_tax_id,
sub.tax_exigible,
sub.base_account_id,
sub.tax_repartition_line_id,
sub.base_amount,
ROUND(
Expand Down

0 comments on commit 8dcfdf0

Please sign in to comment.