openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #09838
[Bug 972452] [NEW] [web] m2o widget does not behaves correctly when TAB is pressed
Public bug reported:
with the latest trunk, web client.
*open a form view with a m2o without widget=selection. Let's say an invoice.
*place your cursor in the m2o for customers. Let's suppose you'd like to select 'Agrolait'.
*Begin to type 'agro'. There should come few suggestions about the customer you could select.
*Agrolait is the first of the suggestion so just press TAB to choose it. Did it work? Maybe, the fact is that it's not working all the time! Let me proof it.
Now try the following steps:
*Begin to type 'agro'. There should come few suggestions about the customer you could select.
*move your cursor on 'Sylvie Lelitre', but don't click. At that time, you should have 'agro' typed and sylvie lelitre overlighted.
*Agrolait is the first of the suggestion so just press TAB to choose it. Did it work? No it selected sylvie lelitre. This is because the TAB is considered as an ENTER in sthe drop down list although it should only mean that we move to the next field. The same problem would have occured even if you didn't move the cursor but if the fate had placed it over the dropdown list.
This problem is particularly annoying on m2o with quick_create feature
enabled because if your cursor is unluckily located over the place of
the 'create' option it will pollute your database with copies of records
you wanted to select!
so to sum up, i think we have here a real usability problem. The TAB shouldn't work to select in the dropdown list of a m2o, it should either always pick the first value or either should not select anything if there are several values matching.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/972452
Title:
[web] m2o widget does not behaves correctly when TAB is pressed
Status in OpenERP Addons (modules):
New
Bug description:
with the latest trunk, web client.
*open a form view with a m2o without widget=selection. Let's say an invoice.
*place your cursor in the m2o for customers. Let's suppose you'd like to select 'Agrolait'.
*Begin to type 'agro'. There should come few suggestions about the customer you could select.
*Agrolait is the first of the suggestion so just press TAB to choose it. Did it work? Maybe, the fact is that it's not working all the time! Let me proof it.
Now try the following steps:
*Begin to type 'agro'. There should come few suggestions about the customer you could select.
*move your cursor on 'Sylvie Lelitre', but don't click. At that time, you should have 'agro' typed and sylvie lelitre overlighted.
*Agrolait is the first of the suggestion so just press TAB to choose it. Did it work? No it selected sylvie lelitre. This is because the TAB is considered as an ENTER in sthe drop down list although it should only mean that we move to the next field. The same problem would have occured even if you didn't move the cursor but if the fate had placed it over the dropdown list.
This problem is particularly annoying on m2o with quick_create feature
enabled because if your cursor is unluckily located over the place of
the 'create' option it will pollute your database with copies of
records you wanted to select!
so to sum up, i think we have here a real usability problem. The TAB shouldn't work to select in the dropdown list of a m2o, it should either always pick the first value or either should not select anything if there are several values matching.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/972452/+subscriptions
Follow ups
References