summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/account_move_line.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2026-03-11 15:05:48 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2026-03-11 15:05:48 +0700
commit38fe4570a429e711ed04b41a75f395a2d2d821a5 (patch)
treefee24a504ba8231876bc79a19b9eea2e06073ef2 /indoteknik_custom/views/account_move_line.xml
parent9e5744f9e219d284eebb2ee006a772ba78ad054d (diff)
parenta637972fca56a9f2e62636f7639cf27de033b248 (diff)
Merge branch 'odoo-backup' of bitbucket.org:altafixco/indoteknik-addons into odoo-backup
# Conflicts: # indoteknik_custom/models/purchase_order.py # indoteknik_custom/security/ir.model.access.csv
Diffstat (limited to 'indoteknik_custom/views/account_move_line.xml')
-rw-r--r--indoteknik_custom/views/account_move_line.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move_line.xml b/indoteknik_custom/views/account_move_line.xml
index 346494f3..1e4b258e 100644
--- a/indoteknik_custom/views/account_move_line.xml
+++ b/indoteknik_custom/views/account_move_line.xml
@@ -24,6 +24,49 @@
</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> -->
+ </field>
+ </record>
</data>
<data>
<record id="action_gl_reconcile_server" model="ir.actions.server">