Community mailing list archives

community@mail.odoo.com

Odoo 9 : "NameError: name 'context' is not defined"

by
Nitish Raina
- 04/14/2016 02:50:00
Hi Everyone,

Can anyone please support me for resolving this error :

I am facing this error while installing a customised module on odoo 9.

Sharing the error content -

openerp.tools.convert: Context value ({                             'default_composition_mode': 'mass_mail',                             'default_partner_to': '${object.id or \'\'}',                             'default_active_domain': [['id', 'in', context.get('active_ids', [])]],                         }) for element with id "base.action_partner_mass_mail" or its data node does not parse at server-side, keeping original string, in case it's meant for client side only

Traceback (most recent call last):
  File "/opt/odoo/odoo/openerp/tools/convert.py", line 227, in get_context
    ctx_res = unsafe_eval(ctx, eval_dict)
  File "<string>", line 1, in <module>
NameError: name 'context' is not defined

PFA.

Thanks in advance for supporting.

Regards,
Nitish Raina