You have been subscribed to a public bug:

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.

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
The web client doesn't pass 'active_model' in context
https://bugs.launchpad.net/bugs/817892
You received this bug notification because you are a member of OpenERP CTP, 
which is subscribed to OpenERP Server.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to