← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello Jacara,

I have fixed the problem in lp:~openerp-commiter/openobject-addons
/trunk-dev-addons3-psi2 branch

Revision No: 4566
Revision ID: psi@xxxxxxxxxxxxx-20101220055304-u9clus3vjn9bxfhs

Thanks
PSI


** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
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