@amachu:
* In what Web-client does it work?
* How does it work in that webclient?
Thanks

-- 
You received this bug notification because you are a member of OpenERP
sa GTK client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/378824

Title:
  field attribute readonly=True

Status in OpenERP GTK Client:
  Confirmed

Bug description:
  readonly=True (in py and xml) does allow programs to write but not to save 
the field.
  onchange triggers can write into "readonly=true" fields, but this information 
is quietly lost during save

  Example (abstract)
  onchange(qty,price)
  returns value=qty*price
  value is a database field.

  it seems to me that readonly=true should only prevent user input.
  and that onchange is considered as "user input"

  how should a readonly field be filled if neither user nor program can set a 
value?
  may be I am missing something.

  may be an attribute "enterable" =false (default true) could prohibit
  user input and allow program input

  http://doc.openerp.com/developer/2_6_views_events/views/design_element.html
  just says "read only"

  thanks

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

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to