> It didn’t work. Any other idea?

No, I still can't reproduce the issue. I built a very bare-bones test
module (see linked tgz) with a very simple object, a single form view
using the `invisible="context.get('hide_in_request',[])"` pattern and
two menu entries, one setting the context key and the other one not
setting it, and i still don't observe the issue:

* If the key is not set (first menu item of the "Test" top-level menu), the 
field appears
* if the key is set (second menu item of the "Test" top-level menu), the field 
does not appear

Observed behavior is logical and coherent with what I can observe on the
GTK client.

Could you try to install this test module and see if you can reproduce
the issue there? And if you can't, try to alter it to reproduce the
behavior?

** Attachment added: "test_module.tgz"
   
https://bugs.launchpad.net/openerp-web/+bug/890370/+attachment/2607983/+files/test_module.tgz

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/890370

Title:
  error while trying to hide a field

Status in OpenERP Web:
  Incomplete

Bug description:
  Help please,
  Im trying to hide a field.
  <field name="survey_id" invisible="context.get('hide_in_request',[])"/>
  It is supposed to work like this, I want it to display the field when someone 
click menu "A", and not to display it when someone clicks menu "B". (menu "A" 
and "B" goes to different views of the same object)

  This is working perfectly in the gtk client. why is it not working on
  the web??

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/890370/+subscriptions

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

Reply via email to