[DEMO] ~users now have parent_id master
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Mon, 26 Jan 2015 13:32:36 +0000 (14:32 +0100)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Mon, 26 Jan 2015 13:32:36 +0000 (14:32 +0100)
demo/account.xml
demo/hr.xml
demo/point_of_sale.xml

index 084e063..dac571b 100644 (file)
@@ -4,11 +4,13 @@
         <record id="partner_accountant" model="res.partner">
             <field name="name">Accountant</field>
             <field name="company_id" ref="base.main_company"/>
+            <field name="parent_id" ref="base.main_company"/>
             <field name="customer" eval="False"/>
             <field name="country_id" ref="base.fr"/>
         </record>
         <record id="partner_treasurer" model="res.partner">
             <field name="name">Treasurer</field>
+            <field name="parent_id" ref="base.main_company"/>
             <field name="company_id" ref="base.main_company"/>
             <field name="customer" eval="False"/>
             <field name="country_id" ref="base.fr"/>
index af8d07e..495fed2 100644 (file)
@@ -3,6 +3,7 @@
         <record id="partner_employee" model="res.partner">
             <field name="name">Employee</field>
             <field name="company_id" ref="base.main_company"/>
+            <field name="parent_id" ref="base.main_company"/>
             <field name="customer" eval="False"/>
             <field name="country_id" ref="base.fr"/>
         </record>
index a2db21e..08d9e74 100644 (file)
@@ -7,6 +7,7 @@
         <record id="partner_pos" model="res.partner">
             <field name="name">Point of Sale Demo User</field>
             <field name="company_id" ref="base.main_company"/>
+            <field name="parent_id" ref="base.main_company"/>
             <field name="customer" eval="False"/>
             <field name="country_id" ref="base.fr"/>
         </record>