diff --git a/beesdoo_portal_shift/__init__.py b/beesdoo_website_shift/__init__.py similarity index 100% rename from beesdoo_portal_shift/__init__.py rename to beesdoo_website_shift/__init__.py diff --git a/beesdoo_portal_shift/__openerp__.py b/beesdoo_website_shift/__openerp__.py similarity index 83% rename from beesdoo_portal_shift/__openerp__.py rename to beesdoo_website_shift/__openerp__.py index b0376b0..ea05970 100644 --- a/beesdoo_portal_shift/__openerp__.py +++ b/beesdoo_website_shift/__openerp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- { - 'name': 'Beescoop Shift Portal', + 'name': 'Beescoop Shift Website', 'summary': """ Show available shifts for regular and irregular workers in @@ -18,7 +18,7 @@ 'depends': ['website', 'beesdoo_shift'], 'data': [ - 'views/shift_portal_templates.xml', + 'views/shift_website_templates.xml', 'data/config_data.xml', ] } diff --git a/beesdoo_portal_shift/controllers/__init__.py b/beesdoo_website_shift/controllers/__init__.py similarity index 100% rename from beesdoo_portal_shift/controllers/__init__.py rename to beesdoo_website_shift/controllers/__init__.py diff --git a/beesdoo_portal_shift/controllers/main.py b/beesdoo_website_shift/controllers/main.py similarity index 90% rename from beesdoo_portal_shift/controllers/main.py rename to beesdoo_website_shift/controllers/main.py index 501a583..14f205a 100644 --- a/beesdoo_portal_shift/controllers/main.py +++ b/beesdoo_website_shift/controllers/main.py @@ -23,7 +23,7 @@ class ShiftPortalController(http.Controller): s = [v for v in val] shifts_and_count.append([len(s), s[0]]) - return request.render('beesdoo_portal_shift.shift_template', + return request.render('beesdoo_website_shift.shift_template', {'shift_templates': shifts_and_count} ) @@ -33,7 +33,7 @@ class ShiftPortalController(http.Controller): template = request.env['beesdoo.shift.template'] task_templates = template.sudo().search([], order="planning_id, day_nb_id, start_time") - return request.render('beesdoo_portal_shift.task_template', + return request.render('beesdoo_website_shift.task_template', { 'task_templates': task_templates, 'float_to_time': float_to_time diff --git a/beesdoo_portal_shift/data/config_data.xml b/beesdoo_website_shift/data/config_data.xml similarity index 100% rename from beesdoo_portal_shift/data/config_data.xml rename to beesdoo_website_shift/data/config_data.xml diff --git a/beesdoo_portal_shift/i18n/fr_BE.po b/beesdoo_website_shift/i18n/fr_BE.po similarity index 98% rename from beesdoo_portal_shift/i18n/fr_BE.po rename to beesdoo_website_shift/i18n/fr_BE.po index 7703421..605ffd5 100644 --- a/beesdoo_portal_shift/i18n/fr_BE.po +++ b/beesdoo_website_shift/i18n/fr_BE.po @@ -26,7 +26,7 @@ msgstr "Créneaux disponibles pour les travailleurs réguliers" #. module: beesdoo_portal_shift #: model:ir.ui.view,arch_db:beesdoo_portal_shift.shift_template -msgid "Availables Shifts for Irregular Workers" +msgid "Available Shifts for Irregular Workers" msgstr "Shifts disponibles pour les travailleurs volants" #. module: beesdoo_portal_shift diff --git a/beesdoo_portal_shift/static/src/css/design.css b/beesdoo_website_shift/static/src/css/design.css similarity index 100% rename from beesdoo_portal_shift/static/src/css/design.css rename to beesdoo_website_shift/static/src/css/design.css diff --git a/beesdoo_portal_shift/views/shift_portal_templates.xml b/beesdoo_website_shift/views/shift_website_templates.xml similarity index 95% rename from beesdoo_portal_shift/views/shift_portal_templates.xml rename to beesdoo_website_shift/views/shift_website_templates.xml index 6e12fcb..8a00e24 100644 --- a/beesdoo_portal_shift/views/shift_portal_templates.xml +++ b/beesdoo_website_shift/views/shift_website_templates.xml @@ -1,10 +1,10 @@ - @@ -74,7 +74,7 @@