[FIX] privacy_lookup: fix xml id not found error
In privacy_lookup, an action is called with a XML id that is not existing. This commit fixes the traceback received by pointing to the correct XML id. closes odoo/odoo#92499 Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
@@ -9,7 +9,7 @@ class ResPartner(models.Model):
|
||||
|
||||
def action_privacy_lookup(self):
|
||||
self.ensure_one()
|
||||
action = self.env['ir.actions.act_window']._for_xml_id('privacy.action_privacy_lookup_wizard')
|
||||
action = self.env['ir.actions.act_window']._for_xml_id('privacy_lookup.action_privacy_lookup_wizard')
|
||||
action['context'] = {
|
||||
'default_email': self.email,
|
||||
'default_name': self.name,
|
||||
|
||||
Reference in New Issue
Block a user