summaryrefslogtreecommitdiff
path: root/indoteknik_custom
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2026-03-09 01:54:50 +0000
committerIT Fixcomart <it@fixcomart.co.id>2026-03-09 01:54:50 +0000
commita637972fca56a9f2e62636f7639cf27de033b248 (patch)
tree480a98a19f3d714cfa319a63099f3d95b3472a3c /indoteknik_custom
parent9995484585402c7b2d0b1a22dc6fe8d309238af8 (diff)
parent10f80b660ddf5b60c519ed766057d19115031b99 (diff)
Merged in journal_entries-mass (pull request #495)
(andri) add search by analytics tag
Diffstat (limited to 'indoteknik_custom')
-rw-r--r--indoteknik_custom/views/account_move_line.xml32
1 files changed, 31 insertions, 1 deletions
diff --git a/indoteknik_custom/views/account_move_line.xml b/indoteknik_custom/views/account_move_line.xml
index cb6f6690..1e4b258e 100644
--- a/indoteknik_custom/views/account_move_line.xml
+++ b/indoteknik_custom/views/account_move_line.xml
@@ -24,17 +24,47 @@
</xpath>
</field>
</record>
+ <record id="view_move_line_tree_grouped_partner_inherit" model="ir.ui.view">
+ <field name="name">account.move.line.tree.grouped.partner.inherit</field>
+ <field name="model">account.move.line</field>
+ <field name="inherit_id" ref="account.view_move_line_tree_grouped"/>
+ <field name="arch" type="xml">
+ <xpath expr="//field[@name='analytic_tag_ids']" position="replace">
+ <field name="analytic_tag_ids"
+ widget="many2many_tags"
+ optional="hide"/>
+ </xpath>
+ </field>
+ </record>
+
<record id="view_account_move_line_filter_inherit" model="ir.ui.view">
<field name="name">account.move.line.filter.inherit</field>
<field name="model">account.move.line</field>
<field name="inherit_id" ref="account.view_account_move_line_filter"/>
<field name="arch" type="xml">
+ <xpath expr="//search" position="inside">
+ <field name="analytic_tag_ids"
+ string="Analytic Tag"
+ filter_domain="[('analytic_tag_ids.name','ilike', self)]"/>
+ </xpath>
+ <!-- <xpath expr="//search" position="inside">
+ <field name="analytic_account_id"
+ string="Analytic Account"
+ filter_domain="[('analytic_account_id.name','ilike', self)]"/>
+
+ </xpath>
+ <xpath expr="//search/group" position="inside">
+ <filter string="Analytic Tag"
+ name="group_by_analytic_tag"
+ domain="[]"
+ context="{'group_by': 'analytic_tag_ids'}"/>
+ </xpath>
<xpath expr="//search/group" position="inside">
<filter string="Analytic Account"
name="group_by_analytic_account"
domain="[]"
context="{'group_by': 'analytic_account_id'}"/>
- </xpath>
+ </xpath> -->
</field>
</record>
</data>