diff --git a/attendance.xml b/attendance.xml new file mode 100644 index 0000000..0d9dfe4 --- /dev/null +++ b/attendance.xml @@ -0,0 +1,205 @@ + + diff --git a/controllers/__init__.py b/controllers/__init__.py new file mode 100644 index 0000000..5d4b25d --- /dev/null +++ b/controllers/__init__.py @@ -0,0 +1,4 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import main diff --git a/controllers/main.py b/controllers/main.py new file mode 100644 index 0000000..36a2864 --- /dev/null +++ b/controllers/main.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. +from odoo import http +import logging +from odoo.http import request +_logger = logging.getLogger(__name__) +from odoo.tools.json import scriptsafe + + +class GoogleMap(http.Controller): + ''' + This class generates on-the-fly partner maps that can be reused in every + website page. To do so, just use an ``