option list_db=False hides db selection field
Bug #1268510 reported by
Cedric Le Brouster(OpenFire)
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP R&D Web Team |
Bug Description
Hi,
In OpenERP v7 when the option list_db is set to False, the db list in selection page is changed to a text field.
Then, once a database name is entered, the field disappears, and won't appear unless you clean your browser's cache.
Moreover, editing the db name in the address bar of the browser doesn't work.
Expected : The database selection field should remain visible and editable.
This worked well on OpenERP 6.1
This problem occurs because a test is done on the db_list length, and the selection field is removed when there is only one database, which is the case when list_db is False and a database is selected.
tested with latest revision : openerp-web 4108
Regards,
Changed in openerp-web: | |
assignee: | nobody → OpenERP R&D Web Team (openerp-dev-web) |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
Here is a little patch.
I guess it's not very sexy, but it does the trick and I can't do much more with javascript.