← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670899] Re: The many2one lookup widget ignores domain for autosearch

 

Hello,
   Hereby attaching patch for the bug,
   @sma Please test this code once again before committing to branch.

** Patch added: "revised_solution.patch"
   https://bugs.launchpad.net/openobject-client-web/+bug/670899/+attachment/1741478/+files/revised_solution.patch

-- 
The many2one lookup widget ignores domain for autosearch
https://bugs.launchpad.net/bugs/670899
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in Canonical OpenERP: Confirmed
Status in OpenObject Web Client: Confirmed

Bug description:
When using a many2one field that has a domain applied, the pop-up window correctly uses the domain (when the magnifying glass icon is clicked). However, the web client has an auto-search feature that displays a dropdown list of values when a user types in just a few characters and pauses. The auto-search lookup ignores the domain on the field and displays all records that characters that match.

This means that users can accidently select values in the many2one list that they should not be allowed to do. This problem does not occur in the GTK client.

bzr trunk revno: 3800





References