[ADD] theme 9.0

This commit is contained in:
Design
2021-05-11 15:45:12 +02:00
committed by Jeremy Kersten
commit ab6e6bb96c
3795 changed files with 143023 additions and 0 deletions
@@ -0,0 +1 @@
import main
+17
View File
@@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import json
from openerp import http
from openerp.http import request
class SnipperGoogleMap(http.Controller):
@http.route('/website/google_maps_api_key', type='json', auth='public', website=True)
def google_maps_api_key(self, **post):
google_maps_api_key = request.env['ir.config_parameter'].sudo().get_param('google_maps_api_key')
data = {
'google_maps_api_key': google_maps_api_key or ''
}
return json.dumps(data)