~openerp-community/openobject-addons/trunk-addons-community

« back to all changes in this revision

Viewing changes to base_partner_security/partner_view.xml

  • Committer: Serpent Consulting Services
  • Date: 2012-10-18 12:58:15 UTC
  • Revision ID: support@serpentcs.com-20121018125815-aptikmdgamanyj67
[IMP] base_partner_security : Added field restricted on partner form 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<openerp>
3
 
    <data>
4
 
 
5
 
        <record id="view_partner_category_form_inherit" model="ir.ui.view">
6
 
            <field name="name">res.partner.category.form.security.inherit</field>
7
 
            <field name="model">res.partner.category</field>
8
 
            <field name="type">form</field>
9
 
            <field name="inherit_id" ref="base.view_partner_category_form"/>
10
 
            <field name="arch" type="xml">
11
 
                <field name="parent_id" position="after">
12
 
                        <field name="restricted"/>
13
 
                </field>
14
 
            </field>
15
 
        </record>
16
 
 
17
 
    </data>
 
3
        <data>
 
4
 
 
5
                <record id="view_partner_category_form_inherit" model="ir.ui.view">
 
6
                        <field name="name">res.partner.category.form.security.inherit</field>
 
7
                        <field name="model">res.partner.category</field>
 
8
                        <field name="type">form</field>
 
9
                        <field name="inherit_id" ref="base.view_partner_category_form" />
 
10
                        <field name="arch" type="xml">
 
11
                                <field name="parent_id" position="after">
 
12
                                        <field name="restricted" />
 
13
                                </field>
 
14
                        </field>
 
15
                </record>
 
16
 
 
17
<!--  Code added by Serpent Consulting Services (http://www.serpentcs.com) -->
 
18
                <record model="ir.ui.view" id="base_part_sec_partner_form_view">
 
19
                        <field name="name">base.partner.security.partner.form</field>
 
20
                        <field name="model">res.partner</field>
 
21
                        <field name="type">form</field>
 
22
                        <field name="inherit_id" ref="base.view_partner_form" />
 
23
                        <field name="arch" type="xml">
 
24
                                <field name="lang" position="after">
 
25
                                        <field name="restricted" />
 
26
                                </field>
 
27
                        </field>
 
28
                </record>
 
29
 
 
30
        </data>
18
31
</openerp>