← Back to team overview

openerp-india team mailing list archive

[Bug 719364] Re: Enable context-search in attrs and readonly

 

Still not in 'modifiers' in 6.1? I would like to compare a value in the
context with a field value to set visibility on an element; isn't it
possible?

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/719364

Title:
  Enable context-search in attrs and readonly

Status in OpenERP Server:
  Confirmed

Bug description:
  Hi,

  I would really appreciate if we could use the context in "attrs" and
  "readonly" XML attributes. Currently you can do this in the
  "invisible" attribute:

  invisible="context.get('xxx', False)"

  Which is pretty useful, but is doesn't work in the "readonly" nor the
  "attrs" XML attributes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/719364/+subscriptions