Community mailing list archives


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

Nitish Raina
- 2016年04月14日 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 - Context value ({                             'default_composition_mode': 'mass_mail',                             'default_partner_to': '${ 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/", line 227, in get_context
    ctx_res = unsafe_eval(ctx, eval_dict)
  File "<string>", line 1, in <module>
NameError: name 'context' is not defined


Thanks in advance for supporting.

Nitish Raina