~vauxoo/addons-vauxoo/7.0-ifrs_agrinos-dev-hbto

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version='1.0' encoding='utf-8'?>
<openerp>
    <data>
        <record id="view_account_move_line_group_production_stock_move" model="ir.ui.view">
            <field name="name">account.move.line.group.production.stock.move</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="//group[@string='Group By...']/filter[@string='Period']" position="after">
                    <filter string="Stock Move" icon="terp-stock" domain="[]" context="{'group_by':'stock_move_id'}"/>
                    <filter string="Production" icon="terp-mrp" domain="[]" context="{'group_by':'production_id'}"/>
                </xpath>
            </field>
        </record>

    </data>
</openerp>