Skip to content
Snippets Groups Projects
  1. Oct 23, 2019
  2. Oct 22, 2019
  3. Oct 23, 2019
  4. Oct 17, 2019
  5. Oct 23, 2019
  6. Oct 15, 2019
  7. Oct 23, 2019
  8. Oct 22, 2019
  9. Oct 21, 2019
  10. Oct 22, 2019
    • Romain Derie's avatar
      [FIX] website: prevent traceback if xml homepage view has no page · 3d3c3345
      Romain Derie authored
      
      The XML file homepage view record is not supposed to be deleted as it is used
      to bootstrap newly created website.
      
      If that view is deleted, everything's fine. But if that view's page is not
      found (m2o link broken somehow), then the code would crash.
      
      This would only appear if the user is playing in the backend in technical but
      it seems to happen more than it should.
      
      This commit will prevent the code to crash in such a case.
      
      Step to reproduce:
      1. Go to settings > technical > views (debug)
      2. Find the xml homepage view (with xml_id)
      3. Go to its website.page and break the m2o view_id
      4. Try to create a new website, it will crash
      
      opw-2081894
      
      closes odoo/odoo#39148
      
      X-original-commit: 1d4dd200
      Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
      3d3c3345
  11. Oct 21, 2019
    • Romain Derie's avatar
      [IMP] website: make test works with more website than the data ones · 67df6b91
      Romain Derie authored
      
      Those tests were raising an assert error if the DB has other websites than the
      data/demo ones.
      
      As we have a new module in Odoo 13.0 (odoo/design-themes#178)
      which is creating 25 websites, and since the design-themes runbot is now
      running tests, we were having a red design-themes runbot.
      
      closes odoo/odoo#39140
      
      Signed-off-by: default avatarJérémy Kersten (jke) <jke@openerp.com>
      67df6b91
    • Nans Lefebvre's avatar
      [FIX] fields, test_translate: multilanguage without en_US · 1a5a999c
      Nans Lefebvre authored
      
      Before, en_US was almost always the default in case of 'no language'.
      Now, that should be superseded by lang=None;
      yet still, en_US plays the role of source language.
      
      In a multilanguage database where en_US was not installed,
      writing a translation with lang=None would crash.
      This could prevent module installation.
      
      A test is added to cover that case.
      
      In the case where we write a record with lang=None, the source is the
      same as the record; in that case the cache contains the value for the
      field.name under the context keys en_US and None, so we need to
      invalidate the cache to avoid getting back the old value.
      
      co-authored with mart-e
      
      opw 2088487
      opw 2083710
      
      closes odoo/odoo#39040
      
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      1a5a999c
    • Lucas Perais (lpe)'s avatar
      [FIX] web: web_client o_content is scrollable, not action manager · 9e6acaa0
      Lucas Perais (lpe) authored
      
      Go on a kanban view with a scroll bar
      scroll all the way down
      Open a record in form view
      
      Use the breadcrumb to go back to the kanban
      
      Before this commit, the kanban was re-opened
      but the position were we were before opening the record was lost
      
      This was due to 40dd1219
      which refactors the dom, puting the action manager on top of controllers
      
      After this commit, when re-opening the kanban, we end up at the same position
      we left it at
      
      OPW 2074077
      
      closes odoo/odoo#39111
      
      X-original-commit: c0d48878c452b256859f067186567c126d8de27e
      Signed-off-by: default avatarLucas Perais (lpe) <lpe@odoo.com>
      9e6acaa0
  12. Oct 15, 2019
Loading