Launchpad automatic translations update.
[odoo/odoo.git] / addons / account_anglo_saxon / product_view.xml
1 <?xml version="1.0"?>
2 <openerp>
3     <data>
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                 <xpath expr="//field[@name='property_account_expense']" position="after">
10                     <label string="" colspan="2"/>
11                     <field name="property_account_creditor_price_difference" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />
12                     <newline/>
13                 </xpath>
14             </field>
15         </record>
16
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                 <xpath expr="/form/notebook/page/field[@name='property_account_expense']" position="after">
23                     <field name="property_account_creditor_price_difference" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />
24                     <newline/>
25                 </xpath>
26              </field>
27         </record>
28
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">
34                 <data>
35                     <xpath expr="//field[@name='property_account_income_categ']" position="before">
36                         <field name="property_account_creditor_price_difference_categ" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]"/>
37                     </xpath>
38                 </data>
39             </field>
40         </record>
41
42     </data>
43 </openerp>
44