[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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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')]"/>
|
||||
|
||||
Reference in New Issue
Block a user