1. 16 Apr, 2021 1 commit
    • Jérome Perrin's avatar
      xhtml_style: fix rendering of standard_error_message when site title is not ASCII · 8fffd3f8
      Jérome Perrin authored
      When rendering error page, the default header_title is computed in global_definitions
      and this is done by concatenating string:ERP5 (which is unicode) and the
      title of the portal (which is an UTF-8 encoded string), which causes an
      UnicodeDecodeError, because the portal title was decoded as ASCII.
      
      Because header_title is usually an UTF-8 encoded string, also use an UTF-8
      encoded string for 'ERP5' default value.
      8fffd3f8
  2. 15 Apr, 2021 1 commit
  3. 14 Apr, 2021 9 commits
  4. 13 Apr, 2021 6 commits
  5. 12 Apr, 2021 3 commits
  6. 09 Apr, 2021 4 commits
  7. 07 Apr, 2021 1 commit
  8. 06 Apr, 2021 1 commit
  9. 02 Apr, 2021 2 commits
  10. 01 Apr, 2021 1 commit
  11. 31 Mar, 2021 3 commits
  12. 30 Mar, 2021 1 commit
    • Jérome Perrin's avatar
      deferred_style: Properly keep request parameters · eab00f14
      Jérome Perrin authored
      When rendering reports, deferred style was only keeping request.other, but
      some places, like Products.ERP5Form.ListBox.ListBox.getParamDict read only in
      request.form, which caused different behaviours when rendering reports
      directly or in activities, because when rendering in activities request keys
      that the report dialog might have pushed were not preset in request. They
      were of course present when rendering the report directly, because this was
      the same request, so this lead to different behaviours wether reports were
      rendering in activities or directly, like we could observe in 7058ab6f
      (accounting: fix grouping option of GL when running in deferred mode, 2021-02-25)
      
      This change deferred style to properly propagate request.other and
      request.form in all activities of reports.
      eab00f14
  13. 29 Mar, 2021 7 commits