__init__.py 370 B

1234567891011121314
  1. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  2. from . import models
  3. from . import wizard
  4. from odoo import api, SUPERUSER_ID
  5. def uninstall_hook(cr, registry):
  6. env = api.Environment(cr, SUPERUSER_ID, {})
  7. ICP = env['ir.config_parameter']
  8. ICP.set_param('google.pse.id', False)
  9. ICP.set_param('google.custom_search.key', False)