[Trunk/7.0] Use of custom filter "set_editable" raises an error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Web Team |
Bug Description
If you add this in one of your search view:
<filter string="Edit test" context=
You get the following javascript error:
Uncaught Error: cannot call methods on autocomplete prior to initialization; attempted to call method 'widget'
How to reproduce:
- Add the filter in your search view of partners
- Go on list view
- Select your custom filter
- Click on a row and modify it
- Save your changes
- Remove the custom filter
- Click anywhere around
This is used nowhere in addons, however as the doc states this, I assume it is a bug:
http://
context.
Boolean flag extracted from a search context (during the do_search`() handler), true will make the view editable (from the top), false or the absence of the flag is a noop.
Changed in openerp-web: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → OpenERP R&D Web Team (openerp-dev-web) |
Changed in openerp-web: | |
status: | Confirmed → In Progress |
Confirmed with version 7.0. @ Feb 20, 2013. Its reproducable if you use http:// v6apps. openerp. com/addon/ 8139 mass_editing plugin and you try to add an editable field troll.ws/ image/7ae46b9d troll.ws/ image/52890253
http://
http://