geo_edit_widget breaks date widget if placed after
Bug #1090455 reported by
Yannick Vaucher @ Camptocamp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Geospatial Addons for OpenERP |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Create a form with :
a geoengine field using "geo_edit_map" widget
a date field
You can open an object in view mode. However if you try to switch to edit mode, you will get the following error:
Uncaught TypeError: Cannot call method 'get_value' of undefined
it seams the datewidget is not defined at this line:
get_value: function() {
return this.datewidget
},
This is probably a "self", "this" mixing in geoengine edit form.
Related branches
lp:~camptocamp/geospatial-addons/fix-widget-early-get-value-20121218
- Nicolas Bessi - Camptocamp (community): Approve
-
Diff: 15 lines (+4/-1)1 file modifiedbase_geoengine/static/src/js/geoengine_view.js (+4/-1)
Changed in geospatial-addons: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Hello,
This bug does not seem directly linked to the edit widget but more too a bug related to the implementation of core/date widgets. many2many/ many2one just behind the map widget ?.
Can you please tell me if the same problem happened if we put a one2many/
Regards
Nicolas