[FIX] website: compress_html is obsolete

Partial revert of #2013dc38

Schema is not updated, but it can break if views are not updated.
This commit is contained in:
Jeremy Kersten
2016-11-18 15:50:28 +01:00
parent 2013dc387d
commit 962ff5b4bf
+4
View File
@@ -43,6 +43,10 @@ class WebsiteConfigSettings(models.TransientModel):
# when multi-website is implemented
google_maps_api_key = fields.Char(string='Google Maps API Key')
# TODO: remove me in master / saas-14
compress_html = fields.Boolean('Compress rendered HTML', related='website_id.compress_html')
def set_google_maps_api_key(self):
self.env['ir.config_parameter'].set_param(
'google_maps_api_key', (self.google_maps_api_key or '').strip(), groups=['base.group_system'])