1. 13 Jan, 2024 5 commits
    • Jérome Perrin's avatar
      ods_style: render all fields with style_macros/macro/cell_value · 282c18f7
      Jérome Perrin authored
      Instead of duplicating the code for the case where a field value is
      rendered from a group (left, right etc) of the form and when the field
      value is rendered from a listbox editable field, reuse the macro also
      for fields from the form groups.
      
      Because fields from the form groups have top and bottom border, we
      introduce a new style prefix for these fields: "with_border_".
      
      Implementation note: We don't declare this new field in
      Base_getODSSupportedStylePrefixList, because we need to define the cell
      properties each time, so defining this dynamically is not really
      interesting.
      282c18f7
    • Jérome Perrin's avatar
      ods_style: cleanup field_ods_macro/macros/cell_value · b29f60df
      Jérome Perrin authored
      remove useless `field python: editable_fields.get(column_id, None)`
      tal:defines, the macro always documented `field` as required and all
      callers pass it.
      
      document that `style_prefix` is required
      b29f60df
    • Jérome Perrin's avatar
      ui_test: set Foo_viewFloatField/my_quantity input style to 1 234.5 · 91fd2949
      Jérome Perrin authored
      This was set to 1.234,5 but erp5_ods_style does not support this style
      for now, so set it to a supported value for now so that we can progress
      with the testing of erp5_ods_style.
      91fd2949
    • Jérome Perrin's avatar
      ui_test: add more fields in Foo_viewFloatField · f878bed8
      Jérome Perrin authored
      Add a listbox with a figure editable field and a percentage editable
      field. These fields all have TALES to set precision from "precision"
      request key.
      f878bed8
    • Jérome Perrin's avatar
      More python3 support · 0cfb1586
      Jérome Perrin authored
      See merge request nexedi/erp5!1863
      0cfb1586
  2. 12 Jan, 2024 1 commit
  3. 05 Jan, 2024 3 commits
  4. 29 Dec, 2023 2 commits
  5. 28 Dec, 2023 15 commits
  6. 27 Dec, 2023 1 commit
    • Jérome Perrin's avatar
      CSV problems revealed by new cloudooo · bab42871
      Jérome Perrin authored
      New cloudooo uses text/csv as mimetype for CSV, which is correct, but this revealed issues in ERP5:
       - ERP5 did not detect text/csv for csv extensions
       - downloading a file with content type text/csv caused an error
      
      See merge request nexedi/erp5!1859
      bab42871
  7. 26 Dec, 2023 7 commits
  8. 25 Dec, 2023 1 commit
    • Jérome Perrin's avatar
      dms: fix hidden buttons on PDF preview · 3b91fe33
      Jérome Perrin authored
      Instead of disabling in javascript, which cause the button to be visible
      for a few milliseconds, disable directly in the HTML file.
      
      Do not hide "document properties", because it can be useful and it does
      not hurt and "edit images" because we don't hide the buttons to edit
      annotations either, so this is consistent.
      3b91fe33
  9. 22 Dec, 2023 2 commits
  10. 20 Dec, 2023 1 commit
    • Rafael Monnerat's avatar
      erp5_json_editor: Disable ajax and catch promise · 255cf060
      Rafael Monnerat authored
         The JSONEditor relies on call async load for load promises. The current code waits for the promises to finish and throw errors explicitly.
      
          This allows the renderjs properly handle the error on the same chain of promises.
      255cf060
  11. 15 Dec, 2023 2 commits