~ubuntu-branches/ubuntu/quantal/openerp6.1/quantal-proposed

« back to all changes in this revision

Viewing changes to openerp/addons/account_anglo_saxon/product_view.xml

  • Committer: Package Import Robot
  • Author(s): Yolanda Robla
  • Date: 2012-09-20 15:29:00 UTC
  • Revision ID: package-import@ubuntu.com-20120920152900-woyy3yww8z6acmsk
Tags: upstream-6.1-1+dfsg
ImportĀ upstreamĀ versionĀ 6.1-1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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="type">form</field>
 
8
            <field name="inherit_id" ref="account.product_normal_form_view"/>
 
9
            <field name="arch" type="xml">
 
10
                <xpath expr="/form/notebook/page/group/field[@name='property_account_expense']" position="after">
 
11
                    <label string="" colspan="2"/>
 
12
                    <field name="property_account_creditor_price_difference" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />
 
13
                    <newline/>
 
14
                </xpath>
 
15
            </field>
 
16
        </record>
 
17
 
 
18
        <record id="product_template_form_view" model="ir.ui.view">
 
19
            <field name="name">product.template.product.form.inherit</field>
 
20
            <field name="model">product.template</field>
 
21
            <field name="type">form</field>
 
22
            <field name="inherit_id" ref="account.product_template_form_view"/>
 
23
            <field name="arch" type="xml">
 
24
                <xpath expr="/form/notebook/page/field[@name='property_account_expense']" position="after">
 
25
                    <field name="property_account_creditor_price_difference" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" />
 
26
                    <newline/>
 
27
                </xpath>
 
28
             </field>
 
29
        </record>
 
30
 
 
31
        <record id="view_category_property_form" model="ir.ui.view">
 
32
            <field name="name">product.category.property.form.inherit.stock</field>
 
33
            <field name="model">product.category</field>
 
34
            <field name="type">form</field>
 
35
            <field name="inherit_id" ref="product.product_category_form_view"/>
 
36
            <field name="arch" type="xml">
 
37
                <form position="inside">
 
38
                    <group col="2" colspan="2">
 
39
                        <separator string=" Accounting Property" colspan="2"/>
 
40
                            <field name="property_account_creditor_price_difference_categ" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]"/>
 
41
                    </group>
 
42
                </form>
 
43
            </field>
 
44
        </record>
 
45
 
 
46
    </data>
 
47
</openerp>
 
48