Commits

pkumar committed 92be8d5 Draft

indentations provided in the address_book_view.xml

  • Participants
  • Parent commits 8dc38d0

Comments (0)

Files changed (1)

test_module/address_book_view.xml

 <?xml version="1.0" encoding="utf-8"?>
 <openerp>
-<data>
-<record model="ir.ui.view" id="address_book_tree_view">
-<field name="name">address.book.tree</field>
-<field name="model">address.book</field>
-<field name="type">tree</field>
-<field name="arch" type="xml">
-<tree string="Address Book">
-<field name="person_name"/>
-<field name="address"/>
-<field name="contact_no"/>
-<field name="email"/>
-<field name="state"/>
-</tree>
-</field>
-</record>
+    <data>
+        <record model="ir.ui.view" id="address_book_tree_view">
+            <field name="name">address.book.tree</field>
+            <field name="model">address.book</field>
+            <field name="type">tree</field>
+            <field name="arch" type="xml">
+                <tree string="Address Book">
+                    <field name="person_name"/>
+                    <field name="address"/>
+                    <field name="contact_no"/>
+                    <field name="email"/>
+                    <field name="state"/>
+                </tree>
+            </field>
+        </record>
 
-<record model="ir.ui.view" id="address_book_form_view">
-<field name="name">address.book.form</field>
-<field name="model">address.book</field>
-<field name="type">form</field>
-<field name="arch" type="xml">
-<form string="Address Book">
-<field name="person_name"/>
-<field name="address"/>
-<field name="contact_no"/>
-<field name="email"/>
-<field name="state"/>
-</form>
-</field>
-</record>
+        <record model="ir.ui.view" id="address_book_form_view">
+            <field name="name">address.book.form</field>
+            <field name="model">address.book</field>
+            <field name="type">form</field>
+            <field name="arch" type="xml">
+                <form string="Address Book">
+                    <field name="person_name"/>
+                    <field name="address"/>
+                    <field name="contact_no"/>
+                    <field name="email"/>
+                    <field name="state"/>
+                </form>
+            </field>
+        </record>
 
-<record model="ir.ui.view" id="address_book_active_filter">
-<field name="name">address.book.select</field>
-<field name="model">address.book</field>
-<field name="type">search</field>
-<field name="arch" type="xml">
-    <search string="Active/Inactive">
-        <group col='10' colspan='4'>
-            <filter  icon="terp-personal+" string="Active" name="state" domain="[('state','=',True)]" />
-            <filter  icon="terp-personal+" string="Inactive" name="state" domain="[('state','=',False)]" />
-        </group>
-    </search>
-</field>
-</record>
+        <record model="ir.ui.view" id="address_book_active_filter">
+            <field name="name">address.book.select</field>
+            <field name="model">address.book</field>
+            <field name="type">search</field>
+            <field name="arch" type="xml">
+                <search string="Active/Inactive">
+                    <group col='10' colspan='4'>
+                        <filter  icon="terp-personal+" string="Active" name="state" domain="[('state','=',True)]" />
+                        <filter  icon="terp-personal+" string="Inactive" name="state" domain="[('state','=',False)]" />
+                    </group>
+                </search>
+            </field>
+        </record>
 
-<record model="ir.actions.act_window" id="action_address_book_form">
-<field name="name">address_book</field>
-<field name="res_model">address.book</field>
-</record>
+        <record model="ir.actions.act_window" id="action_address_book_form">
+            <field name="name">address_book</field>
+            <field name="res_model">address.book</field>
+        </record>
 
-<menuitem name="Address Book" icon="terp-project" id="addressbook_menu" />
-<menuitem name="Person" parent="addressbook_menu" id="dev_menu_person" action="action_address_book_form" />
+        <menuitem name="Address Book" icon="terp-project" id="addressbook_menu" />
+        <menuitem name="Person" parent="addressbook_menu" id="dev_menu_person" action="action_address_book_form" />
 
 
-</data>
+    </data>
 </openerp>