<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
    <data>

        <record model="ir.ui.view" id="category_view_form">
            <field name="model">product.category</field>
            <field name="inherit" ref="product.category_view_form"/>
            <field name="arch" type="xml">
                <![CDATA[
                <data>
                    <xpath
                        expr="/form/notebook/page[@id='accounting']/field[@name='account_stock']"
                        position="after">
                        <label name="account_cogs"/>
                        <field name="account_cogs"/>
                    </xpath>
                </data>
                ]]>
            </field>
        </record>

        <record model="ir.ui.view" id="template_view_form">
            <field name="model">product.template</field>
            <field name="inherit" ref="product.template_view_form"/>
            <field name="arch" type="xml">
                <![CDATA[
                <data>
                    <xpath
                        expr="/form/notebook/page[@id='accounting']/field[@name='account_stock']"
                        position="after">
                        <label name="account_cogs"/>
                        <field name="account_cogs"/>
                    </xpath>
                </data>
                ]]>
            </field>
        </record>

    </data>
</tryton>
