geo_edit_widget breaks date widget if placed after

Bug #1090455 reported by Yannick Vaucher @ Camptocamp
6
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.get_value();
    },

This is probably a "self", "this" mixing in geoengine edit form.

Related branches

Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote :

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.
 Can you please tell me if the same problem happened if we put a one2many/many2many/many2one just behind the map widget ?.

Regards

Nicolas

Changed in geospatial-addons:
status: New → In Progress
Changed in geospatial-addons:
status: In Progress → Fix Released
Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

I confirm it was also affecting Many2many I didn't tried with other widgets

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.