Passage des données de demo de coworking_coworker à coworking_app
This commit is contained in:
parent
31306e5b57
commit
1c80800633
@ -25,6 +25,8 @@
|
|||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': True,
|
'application': True,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'data': [],
|
'data': ['data/res_partner.xml'],
|
||||||
|
'demo': ['data/coworker_demo.xml'],
|
||||||
|
|
||||||
'depends': ['coworking_coworker', 'coworking_event']
|
'depends': ['coworking_coworker', 'coworking_event']
|
||||||
}
|
}
|
||||||
|
10
coworking_app/data/coworker_demo.xml
Normal file
10
coworking_app/data/coworker_demo.xml
Normal 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>
|
9
coworking_app/data/res_partner.xml
Normal file
9
coworking_app/data/res_partner.xml
Normal 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>
|
@ -26,7 +26,6 @@
|
|||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'data': ['views/res_partner_views.xml'],
|
'data': ['views/res_partner_views.xml'],
|
||||||
'demo': ['data/demo_coworker.xml'],
|
|
||||||
|
|
||||||
'depends': ['coworking_base']
|
'depends': ['coworking_base']
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user