4 <record id="product_normal_form_view" model="ir.ui.view">
5 <field name="name">product.normal.form.inherit.stock</field>
6 <field name="model">product.product</field>
7 <field name="inherit_id" ref="account.product_normal_form_view"/>
8 <field name="arch" type="xml">
9 <field name="property_account_expense" position="after">
10 <label string="" colspan="2"/>
11 <field name="property_account_creditor_price_difference" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />
17 <record id="product_template_form_view" model="ir.ui.view">
18 <field name="name">product.template.product.form.inherit</field>
19 <field name="model">product.template</field>
20 <field name="inherit_id" ref="account.product_template_form_view"/>
21 <field name="arch" type="xml">
22 <field name="property_account_expense" position="after">
23 <field name="property_account_creditor_price_difference" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />
29 <record id="view_category_property_form" model="ir.ui.view">
30 <field name="name">product.category.property.form.inherit.stock</field>
31 <field name="model">product.category</field>
32 <field name="inherit_id" ref="account.view_category_property_form"/>
33 <field name="arch" type="xml">
35 <xpath expr="//field[@name='property_account_income_categ']" position="before">
36 <field name="property_account_creditor_price_difference_categ" domain="[('type','<>','view'),('type','<>','consolidation')]"/>