Skip to content
Snippets Groups Projects
  1. Nov 13, 2019
  2. Nov 12, 2019
    • Nicolas Lempereur's avatar
      [FIX] web: guardedCatch on IE Edge async return · 06273584
      Nicolas Lempereur authored
      
      In IE Edge async and await are supported, but guardedCatch is added to
      polyfilled MyPromise object and async methods return original Promise so
      depending of chain guardedCatch can cause en error or not.
      
      It seems that historically, the MyPromise patching has also had issue in
      firefox with it sometimes working or not.
      
      In this changeset we completely remove it (which will have the drawback
      of more error shown in console in firefox).
      
      opw-1964486
      opw-2116839
      closes #39953
      
      closes odoo/odoo#40154
      
      X-original-commit: 5ca38da6
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      06273584
  3. Nov 13, 2019
  4. Nov 12, 2019
  5. Nov 06, 2019
  6. Nov 12, 2019
  7. Oct 03, 2019
  8. Nov 12, 2019
  9. Nov 08, 2019
  10. Nov 06, 2019
  11. Nov 08, 2019
  12. Nov 10, 2019
  13. Nov 12, 2019
    • Andrea Grazioso (agr-odoo)'s avatar
      [FIX] google_calendar: exclusions not propagating (from OE) · 0f17a0ea
      Andrea Grazioso (agr-odoo) authored
      Activate Google Synchronization, create on OE a recurrent event,
      synchronize the calendar, then delete an event of the recursion on GC,
      sync again on OE.
      
      The event will be deleted from GC but not from OE after sync.
      
      This appens because of this "rewrite" rule
      https://github.com/odoo/odoo/blob/12.0/addons/calendar/models/calendar.py#L918
      
      
      that occur on event creation from OE, altering the event parameters when
      is marked "allday".
      
      When an "allday" event is deleted from GC the unlink is triggered in OE with the
      default time "00:00:00". During the creation of the exclusion '
      _inverse_dates' will be called altering start and stop datetime but not
      recurrent_id_date, so the new record will not match the event generating
      the recursion and the exclusion will not occur. The problem require
      particular carefulness because when a recurrent event is fetched from
      google the '_inverse_dates' is not called, so in that case the default
      time is fine.
      
      opw-2060526
      
      closes odoo/odoo#39662
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      0f17a0ea
Loading