~openerp-dev/openerp-web/7.0-opw-586613-msh

Viewing all changes in revision 3929.

  • Committer: Xavier Morel
  • Date: 2013-05-16 14:49:04 UTC
  • mfrom: (3867.2.1 web)
  • Revision ID: xmo@openerp.com-20130516144904-hbfd5zkl8lic33n8
[FIX] delete event in calendar, courtesy of Holger Brunn

Calendar has type mismatche issues where event ids are obtained as
strings even when they are numbers, this is (ish) why get_id_index was
added to Dataset.

When having an event_id in calendar, can't use event_id directly needs
to ensure we have valid index and use that index to get "correct (ly
typed)" id from dataset.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: