Files
intrastat-extrastat/intrastat_base/views/product_template.xml
2016-11-30 14:12:34 +03:00

29 lines
959 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
© 2010-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<openerp>
<record id="product_template_form_view" model="ir.ui.view">
<field name="name">intrastat.base.product.template.form</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="account.product_template_form_view"/>
<field name="arch" type="xml">
<group name="properties" position="after">
<group string="Intrastat Properties" name="intrastat">
<!-- If you need this field, inherit this view in a
localisation module to set invisible="0" -->
<field name="is_accessory_cost"
attrs="{'invisible': [('type', '!=', 'service')]}"
invisible="1"/>
</group>
</group>
</field>
</record>
</openerp>