[FIX] product, report_intrastat, stock: visibility of categ_id on product.template

When the "Inventory" module was not installed, it was not possible to set
the field "categ_id" on "product.template".

opw:707285
This commit is contained in:
Goffin Simon
2017-02-07 14:52:52 +01:00
parent 6076900b3e
commit 8e5684250b
3 changed files with 6 additions and 6 deletions
+1
View File
@@ -44,6 +44,7 @@
<group>
<group name="group_general">
<field name="type"/>
<field name="categ_id" string="Internal Category"/>
</group>
<group name="group_standard_price">
<field name="list_price" widget='monetary' options="{'currency_field': 'currency_id'}"/>
@@ -29,9 +29,11 @@
<field name="model">product.template</field>
<field name="inherit_id" ref="stock.view_template_property_form"/>
<field name="arch" type="xml">
<field name="categ_id" position="after">
<field name="intrastat_id"/>
</field>
<group name="group_lots_and_weight" position="after">
<group>
<field name="intrastat_id"/>
</group>
</group>
</field>
</record>
-3
View File
@@ -141,9 +141,6 @@
<field name="volume" string="Volume"/>
</div>
</group>
<group>
<field name="categ_id" string="Internal Category"/>
</group>
<group name="stock_property" groups="base.group_no_one">
<field name="property_stock_procurement" domain="[('usage','=','procurement')]"/>
<field name="property_stock_production" domain="[('usage','=','production')]"/>