[FIX] product_images: clearing wrong key from icp in uninstall_hook
before this commit, in the uninstall hook, the key which is trying to remove from the ir.config.parameter is not existing one. after this commit, the google.pse.id key will get removed from the icp. closes odoo/odoo#110724 X-original-commit: f7e44f21b99cc363b0ff572ff9a96d6d3569b1cc Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
@@ -9,5 +9,5 @@ from odoo import api, SUPERUSER_ID
|
||||
def uninstall_hook(cr, registry):
|
||||
env = api.Environment(cr, SUPERUSER_ID, {})
|
||||
ICP = env['ir.config_parameter']
|
||||
ICP.set_param('google.custom_search.cx', False)
|
||||
ICP.set_param('google.pse.id', False)
|
||||
ICP.set_param('google.custom_search.key', False)
|
||||
|
||||
Reference in New Issue
Block a user