Skip to content
Snippets Groups Projects
Commit 962ff5b4 authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[FIX] website: compress_html is obsolete

Partial revert of #2013dc38

Schema is not updated, but it can break if views are not updated.
parent 2013dc38
No related branches found
No related tags found
No related merge requests found
......@@ -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'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment