c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00632
[Bug 535036] Re: Search view not shown if only one record in list
This has been fixed by revision 1637.
functionality stays as:
If there is only one record, pressing tab selects it.
If there is only one record, pressing Find button will open the search window.
Thanks Ruud and John.
** Changed in: openobject-client
Assignee: (unassigned) => RGA(OpenERP) (rga-openerp)
--
Search view not shown if only one record in list
https://bugs.launchpad.net/bugs/535036
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject GTK Client: Fix Released
Bug description:
If you select the search view from a new record and there is exactly 1 available item in the list you want search, this item is directly selected. In many cases this is what you want and this speeds up the selection. However, if this is not the correct item and you want to add a new item, you cannot do this directly and need to go explicitly to another menu entry to achieve this.
To illustrate this problem, do the following:
Create an empty database with a minimal configuration.
Go to "Partners->Configuration->Partner Functions".
Remove all existing partner functions (if any).
Go to "Partners->Partners->New Partner".
Enter a partner name "aa" and select the search icon after the "Function" field. A pop up window appears.
Select new and create a new partner function, call it "salesman".
Save the partner entry.
Create a second partner by selecting "New".
Enter a partner name "bb" and select the search icon after the "Function" field. The "salesman" entry appears directly.
If you want to define a new partner function you cannot do it directly. You need to go explicitly to the "Partners->Configuration->Partner Functions" menu to achieve this.
If you have done this, there are two partner function defined (e.g. you've added "secretary".
No if you save the partner and then create a third partner (call it "cc") you will get the popup window when you try to search the partner function through the icon behind the function field. This is correct.
I would expect a consistent behavior for the case where only one entry exists. In this case, the popup window should appear and the user should have the possibility to either validate or create a new entry.
The behavior in the web client is correct and forces the popup window to appear.
T