<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright 2015-2021 Akretion France (http://www.akretion.com/)
  @author: Alexis de Lattre <alexis.delattre@akretion.com>
  License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->

<odoo>


<record id="view_account_analytic_account_list" model="ir.ui.view">
    <field name="model">account.analytic.account</field>
    <field name="inherit_id" ref="analytic.view_account_analytic_account_list"/>
    <field name="arch" type="xml">
        <field name="code" position="after">
            <field name="group_id" optional="show"/>
        </field>
    </field>
</record>
 

<record id="view_account_analytic_account_search" model="ir.ui.view">
    <field name="model">account.analytic.account</field>
    <field name="inherit_id" ref="analytic.view_account_analytic_account_search"/>
    <field name="arch" type="xml">
        <filter name="associatedpartner" position="before">
            <filter name="group_groupby" string="Group" context="{'group_by': 'group_id'}"/>
        </filter>
    </field>
</record>


</odoo>
