← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 802834] [NEW] webclient unlink method using wrong context

 

Public bug reported:

I try delete stock move from picking list on webclient. Then server
constraint message that "You can only delete draft moves." message is
does not translated on the web.

Bug is here: 
addons/openerp/controllers/listgrid.py remove method: line 115

ctx = context_with_concurrency_info(params.context,
params.concurrency_info)

'lang' key is not in ctx.
then i put this line:

ctx.update(cherrypy.session.get('_context', {}))

Now the problem has resolved.

** Affects: openobject-client-web
     Importance: Undecided
         Status: New

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

Title:
  webclient unlink method using wrong context

Status in OpenERP Web Client:
  New

Bug description:
  I try delete stock move from picking list on webclient. Then server
  constraint message that "You can only delete draft moves." message is
  does not translated on the web.

  Bug is here: 
  addons/openerp/controllers/listgrid.py remove method: line 115

  ctx = context_with_concurrency_info(params.context,
  params.concurrency_info)

  'lang' key is not in ctx.
  then i put this line:

  ctx.update(cherrypy.session.get('_context', {}))

  Now the problem has resolved.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/802834/+subscriptions


Follow ups

References