Account Journal onchange_type method context undefined error

Bug #692139 reported by Jacara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

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

Related branches

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Purnendu Singh (OpenERP) (purnendu-singh) wrote :

Hello Jacara,

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

Revision No: 4566
Revision ID: <email address hidden>

Thanks
PSI

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
milestone: none → 6.0-rc2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.