← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 692139] Re: Account Journal onchange_type method context undefined error

 

** Branch linked: lp:~openerp-commiter/openobject-addons/trunk-dev-
addons3-psi2

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/692139

Title:
  Account Journal onchange_type method context undefined error

Status in OpenObject Addons Modules:
  Fix Committed

Bug description:
  addons/account/account.py line 708: 

def onchange_type(self, cr, uid, ids, type, currency):

missing context param


data = obj_data.browse(cr, uid, data_id[0], context=context)
NameError: global name 'context' is not defined





References