← Back to team overview

openerp-india team mailing list archive

[Bug 941984] Re: fields set as readonly can receive focus in openerp6.1--web

 

Hello, I check the code and i think works better whit this code:
var disabled = (this.readonly);
this.$element.find('input').prop('disabled', disabled);

instead:

var disabled = (this.readonly || this.force_disabled || !this.view.is_interactible_record());
this.$element.find('input').prop('disabled', disabled);

I also check the way of make a merge proporsal but in trunk i didnt find
the function that I fix in 6.1 so i imagine that this part is not
considered yet in trunk so I can't make a merge prporsal but works fine
for 6.1.1.

Regards.

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

Title:
  fields set as readonly can receive focus in openerp6.1--web

Status in OpenERP Server:
  Confirmed

Bug description:
  Fields set as readonly in form views can receive focus, I think if the
  field is readonly is not necesary to let it get focus, it is usefull
  in the moment to fill form and reduce time for users because you have
  not to pass throw fields that are inactive.

  I am using openerp6.1 we client+firefox+ubuntu11.10.

  Regards

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


References