Skip to content
Snippets Groups Projects
  1. Oct 18, 2019
  2. Oct 17, 2019
  3. Oct 15, 2019
  4. Oct 18, 2019
    • Lucas Perais (lpe)'s avatar
      [FIX] event, website_event: timezone timestamp to compute one day · bdc8e948
      Lucas Perais (lpe) authored
      
      Have an event in Mexico timezone
      As a begin date, choose something in the morning
      As a end date, choose 18:00 in that timezone (or later)
      in the same day
      The end date will be written as the day after at 00:00 in UTC
      
      Before this commit, the event was considered taking more than one day
      Also, the rendering on the website took the wrong widget, and did not
      transform the UTC dates into their TZ value
      
      After this commit, the event is considered taking place in the same day
      The rendering on the website is correct
      
      OPW 2087828
      
      closes odoo/odoo#39060
      
      X-original-commit: 4514ff30
      Signed-off-by: default avatarLucas Perais (lpe) <lpe@odoo.com>
      bdc8e948
  5. Oct 20, 2019
  6. Oct 15, 2019
  7. Oct 19, 2019
  8. Oct 18, 2019
  9. Oct 17, 2019
    • Xavier-Do's avatar
      [IMP] base: avoid invalidate cache on first assets · fbfae7ef
      Xavier-Do authored
      
      Assets bundle creation will try to find previous version of assets and unlink them.
      This needs to invalidate ormcache to notify other workers.
      
      Since assets are never commited during test, assets will be generate at each request if request is
      not commited (cursor closed) whtch is the case with 404.
      
      Invalidating the orm cache only when a previous attachement was existing will help to
      mitigate the problem, and slightly improve HTTPCases test speed.
      
      closes odoo/odoo#38979
      
      X-original-commit: d4d63549
      Signed-off-by: default avatarXavier Dollé (xdo) <xdo@odoo.com>
      fbfae7ef
    • Xavier-Do's avatar
      [FIX] web: avoid expensive 404 during js tests · d65fcfec
      Xavier-Do authored
      A 404 will take 3 to 5 seconds to be resolved and execute +- 1900 query, to return
      a rendered page which is quite expensive, especially when multiple missing images
      are rendered in a view.
      
      Catching static route and marking them as not frontend will help to avoid to handle miss
      on static resources. In this case server returns a standard 404.
      
      This commit also fix a iframe src in order to avoid a 404 on
      /web/(test )/report/html/some_report (thx to aab-odoo)
      
      X-original-commit: 818d0cb5
      d65fcfec
  10. Oct 18, 2019
  11. Oct 17, 2019
  12. Oct 18, 2019
  13. Oct 17, 2019
Loading