Skip to content

Commit

Permalink
[FIX] account: fix taxes proposition in fiscal position of branch
Browse files Browse the repository at this point in the history
Steps to reproduce:
- Install Accounting
- Go to "Settings / Users & Companies / Companies"
- Create a branch company (e.g. Branch Company) for a company (e.g. YourCompany)
- Switch to Branch Company
- Create a fiscal position

Issue:
It is not possible to select the taxes from the parent company in the
tax mapping.

opw-3850514

closes odoo#162872

Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
  • Loading branch information
kitan191 committed Apr 26, 2024
1 parent e9d955c commit f1f561b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/account/views/partner_view.xml
Expand Up @@ -66,7 +66,7 @@
domain="[
('type_tax_use', '!=', 'none'),
('country_id', '=', parent.company_country_id),
'|', ('company_id', '=', False), ('company_id', '=', parent.company_id)
'|', ('company_id', '=', False), ('company_id', 'parent_of', parent.company_id)
]"
context="{'append_type_to_tax_name': True}"
/>
Expand All @@ -75,7 +75,7 @@
domain="[
('type_tax_use', '!=', 'none'),
('country_id', '=', parent.country_id if parent.foreign_vat else parent.company_country_id),
'|', ('company_id', '=', False), ('company_id', '=', parent.company_id)]"
'|', ('company_id', '=', False), ('company_id', 'parent_of', parent.company_id)]"
context="{'append_type_to_tax_name': True}"
/>
</tree>
Expand Down

0 comments on commit f1f561b

Please sign in to comment.