Hello David Janssens, Its fixed in lp:~openerp-dev/openobject-addons/trunk-bug-716300-ara branch. It will be merge soon with trunk addons.
Thanks for reporting. Revision ID: [email protected] Revision no:4640 Thanks, ara ** 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/716300 Title: context not passed in tree_but_action Status in OpenERP Modules (addons): Fix Committed Status in OpenERP Web Client 5.0 series: Confirmed Bug description: In openerp web client 5 (not tested in 6), the context is not passed to the tree_but_action in tree views. So for example, when clicking on an account in chart of account, it returns all entries of that account regardless of wizard parameters. I made a patch to fix this: === modified file 'openerp/controllers/tree.py' --- openerp/controllers/tree.py 2009-09-18 10:10:44 +0000 +++ openerp/controllers/tree.py 2011-02-10 08:44:46 +0000 @@ -191,7 +191,7 @@ record = {} record['id'] = item.pop('id') - record['action'] = url('/tree/open', model=model, id=record['id']) + record['action'] = url('/tree/open', model=model, id=record['id'], context=ctx) record['target'] = None record['icon'] = None @@ -219,7 +219,7 @@ params, data = TinyDict.split(datas) model = params.model - context = params._terp_context or {} + context = params.context or {} ids = data.get('ids') or [] ctx = rpc.session.context.copy() _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

