summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/account_move_line.xml
diff options
context:
space:
mode:
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">