Passage des données de demo de coworking_coworker à coworking_app

This commit is contained in:
michel 2017-11-29 11:54:42 +01:00
parent 31306e5b57
commit 1c80800633
5 changed files with 22 additions and 2 deletions

View File

@ -25,6 +25,8 @@
'license': 'AGPL-3',
'application': True,
'installable': True,
'data': [],
'data': ['data/res_partner.xml'],
'demo': ['data/coworker_demo.xml'],
'depends': ['coworking_coworker', 'coworking_event']
}

View File

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<odoo>
<record id="name" model="res.partner">
<field name="name">Joe Robert</field>
<field name="contact_date">2017-11-29</field>
<field name="is_coworker" ref="True" />
<field name="coworker_type" ref="stafer" />
</record>
</odoo>

View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<odoo>
<record id="res_partner_coworker" model="res.partner">
<field name="name">Coworker demo</field>
<field name="city">Chambéry</field>
<field name="country_id" ref="base.fr" />
</record>
</odoo>

View File

@ -26,7 +26,6 @@
'application': False,
'installable': True,
'data': ['views/res_partner_views.xml'],
'demo': ['data/demo_coworker.xml'],
'depends': ['coworking_base']
}