Files
intrastat-extrastat/intrastat_base/views/product_template.xml
Alexis de Lattre bf35526b31 [MIG] intrastat_base: Migration to v10
* Update README.rst: switch to new intrastat project
* Move Intrastat menu entry to Accounting > Report instead of Accounting > Report > PDF Reports (because intrastat reports are not in PDF !)
2019-05-14 18:20:19 +02:00

29 lines
953 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).
-->
<odoo>
<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>
</odoo>