From 930a386e2f214786f18abc55e078a090d985671f Mon Sep 17 00:00:00 2001 From: Elouan Le Bars Date: Sun, 17 Nov 2019 14:41:04 +0100 Subject: [PATCH] [ADD] b_shift : demo datas --- beesdoo_shift/__manifest__.py | 5 ++ beesdoo_shift/demo/templates.xml | 107 +++++++++++++++++++++++++++++++ beesdoo_shift/demo/users.xml | 37 +++++++++++ beesdoo_shift/demo/workers.xml | 83 ++++++++++++++++++++++++ 4 files changed, 232 insertions(+) create mode 100644 beesdoo_shift/demo/templates.xml create mode 100644 beesdoo_shift/demo/users.xml create mode 100644 beesdoo_shift/demo/workers.xml diff --git a/beesdoo_shift/__manifest__.py b/beesdoo_shift/__manifest__.py index 86e46f8..f0fec4c 100644 --- a/beesdoo_shift/__manifest__.py +++ b/beesdoo_shift/__manifest__.py @@ -35,4 +35,9 @@ "wizard/holiday.xml", "wizard/temporary_exemption.xml", ], + 'demo': [ + "demo/workers.xml", + "demo/users.xml", + "demo/templates.xml", + ] } diff --git a/beesdoo_shift/demo/templates.xml b/beesdoo_shift/demo/templates.xml new file mode 100644 index 0000000..68a4112 --- /dev/null +++ b/beesdoo_shift/demo/templates.xml @@ -0,0 +1,107 @@ + + + + + + Inventaire + Inventaire frais et vrac. + + + + Bureau des Membres + Gestion admin (encodage liste présences, etc.) + + + + Magasin + Gestion du magasin. + + + + Découpe fromage + Caisse, remplissage des rayons, accueil. + + + + Lundi + 1 + + + + Mardi + 2 + + + + Mercredi + 3 + + + + Jeudi + 4 + + + + Vendredi + 5 + + + + Samedi + 6 + + + + Dimanche + 7 + + + + 1 + Semaine A + + + + A_LUN_7:00-9:30 + + + + 7 + 9.5 + 2.5 + 12 + + + + + + A_MAR_12:00-14:30 + + + + 12 + 14.5 + 2.5 + 9 + + + + + + A_VEN_7:00-9:30 + + + + 7 + 9.5 + 2.5 + 7 + + + + + diff --git a/beesdoo_shift/demo/users.xml b/beesdoo_shift/demo/users.xml new file mode 100644 index 0000000..92f17f0 --- /dev/null +++ b/beesdoo_shift/demo/users.xml @@ -0,0 +1,37 @@ + + + + + + + + Generic Account + generic@demo.net + + + + Permanent Member Demo + + permanent@demo.net + Ixelles + 1050 + + + + + + generic + demo + + + + + permanent + demo + + + + diff --git a/beesdoo_shift/demo/workers.xml b/beesdoo_shift/demo/workers.xml new file mode 100644 index 0000000..8e80a59 --- /dev/null +++ b/beesdoo_shift/demo/workers.xml @@ -0,0 +1,83 @@ + + + + + + + + + 2 + regular + + + + + + 2 + irregular + + + + + + + + 2 + regular + + + + + 2 + irregular + + + + + + 2 + regular + + + + + + + 2 + regular + + + + + regular + share_a + + + + irregular + share_a + + + + regular + share_a + + + + irregular + share_a + + + + regular + share_a + + + + regular + share_a + +