← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

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

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