You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
433 B
15 lines
433 B
# -*- coding: utf-8 -*-
|
|
|
|
from openerp import models, fields
|
|
|
|
|
|
class WebsiteMapkey(models.Model):
|
|
_inherit = 'website'
|
|
map_key = fields.Char("Map Embed URL")
|
|
|
|
|
|
class WebsiteMapConfig(models.Model):
|
|
_inherit = 'website.config.settings'
|
|
|
|
map_key = fields.Char(related='website_id.map_key', string="Map Embed URL",
|
|
help="Paste your google map embed URL here. Only paste the src of iframe here")
|
|
|