← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 817892] Re: The web client doesn't pass 'active_model' in context

 

Oups I didn't know I could change the status, sorry.

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

Title:
  The web client doesn't pass 'active_model' in context

Status in OpenERP Web Client:
  New

Bug description:
  As the title say, the web client doesn't pass the 'active_model' key
  in the context. This bug make some module unusable on web client. For
  example, imagine you have 2 objects which inherits from res.partner
  with _inherits :

  res.partner.client, res.partner.bank

  If you add a button on the right pane of res.partner.client and
  res.partner.bank with a call to a server action which execute Python
  code, you CAN'T know on from which model the action call come from.
  You have only access to active_id, which is useless if you don't know
  if the id correspond to a res.partner.client or a res.partner.bank.

  The GTK client correctly passes the key, thanks.

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


References