Skip to content

Commit

Permalink
[IMP] l10n_it_account_tax_kind: allow to search and group taxes by ki…
Browse files Browse the repository at this point in the history
…nd_id

Forward port of OCA#2322, solution for OCA#2323

Co-authored-by: eLBati <lb@takobi.online>
  • Loading branch information
TheMule71 and eLBati committed Jul 19, 2021
1 parent 91eac51 commit 5f5ea3f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions l10n_it_account_tax_kind/view/account_tax_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,24 @@
</field>
</record>

<record id="view_account_tax_search_tax_kind" model="ir.ui.view">
<field name="name">view_account_tax_search_tax_kind</field>
<field name="model">account.tax</field>
<field name="inherit_id" ref="account.view_account_tax_search" />
<field name="arch" type="xml">
<xpath expr="//filter[@name='inactive']" position="after">
<separator />
<field name="kind_id" />
</xpath>
<xpath expr="//filter[@name='taxapp']" position="after">
<filter
string="Exemption Kind"
name="ex_kind"
domain="[]"
context="{'group_by': 'kind_id'}"
/>
</xpath>
</field>
</record>

</odoo>

0 comments on commit 5f5ea3f

Please sign in to comment.