Comment 1 for bug 703226

Revision history for this message
Paulius Sladkevičius @ hbee (komsas) wrote : Re: addresses

Same problem for me. Problems with the "self" variable in the context - http://bazaar.launchpad.net/~openerp/openobject-server/trunk/view/head:/bin/addons/base/res/partner/partner_view.xml#L111

ERROR:tools.expr_eval:{"search_default_customer":1,"search_default_partner_id":self}
Traceback (most recent call last):
  File "/home/komsas/openerp/openerp6/openobject-client/bin/tools/__init__.py", line 52, in expr_eval
    temp = eval(string, context)
  File "<string>", line 1, in <module>
NameError: name 'self' is not defined