From 1c80800633ad9b83e242e5017acace40d4705eb1 Mon Sep 17 00:00:00 2001 From: michel Date: Wed, 29 Nov 2017 11:54:42 +0100 Subject: [PATCH] =?UTF-8?q?Passage=20des=20donn=C3=A9es=20de=20demo=20de?= =?UTF-8?q?=20coworking=5Fcoworker=20=C3=A0=20coworking=5Fapp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- coworking_app/__manifest__.py | 4 +++- coworking_app/data/coworker_demo.xml | 10 ++++++++++ coworking_app/data/res_partner.xml | 9 +++++++++ coworking_coworker/__manifest__.py | 1 - coworking_coworker/data/demo_coworker.xml | 0 5 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 coworking_app/data/coworker_demo.xml create mode 100644 coworking_app/data/res_partner.xml delete mode 100644 coworking_coworker/data/demo_coworker.xml diff --git a/coworking_app/__manifest__.py b/coworking_app/__manifest__.py index 3a363af..a241196 100644 --- a/coworking_app/__manifest__.py +++ b/coworking_app/__manifest__.py @@ -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'] } diff --git a/coworking_app/data/coworker_demo.xml b/coworking_app/data/coworker_demo.xml new file mode 100644 index 0000000..1aa7cb0 --- /dev/null +++ b/coworking_app/data/coworker_demo.xml @@ -0,0 +1,10 @@ + + + + + Joe Robert + 2017-11-29 + + + + diff --git a/coworking_app/data/res_partner.xml b/coworking_app/data/res_partner.xml new file mode 100644 index 0000000..f74f5c8 --- /dev/null +++ b/coworking_app/data/res_partner.xml @@ -0,0 +1,9 @@ + + + + + Coworker demo + Chambéry + + + diff --git a/coworking_coworker/__manifest__.py b/coworking_coworker/__manifest__.py index c43edb7..0be4d00 100644 --- a/coworking_coworker/__manifest__.py +++ b/coworking_coworker/__manifest__.py @@ -26,7 +26,6 @@ 'application': False, 'installable': True, 'data': ['views/res_partner_views.xml'], - 'demo': ['data/demo_coworker.xml'], 'depends': ['coworking_base'] } diff --git a/coworking_coworker/data/demo_coworker.xml b/coworking_coworker/data/demo_coworker.xml deleted file mode 100644 index e69de29..0000000