1. 13 Jul, 2020 2 commits
    • Jérome Perrin's avatar
      ERP5Form/hal_json: support disabled items in ParallelListField · cd5ce7f6
      Jérome Perrin authored
      (Multi)ListField renders items with None as value as disabled option, but this
      was not really supported in ParallelListField because ParallelListField treated
      the same way the empty ('', '') item and a disabled item ("Disabled", None).
      
      Adjust the conditions to differentiate the two cases.
      cd5ce7f6
    • Jérome Perrin's avatar
      CMFCategory: new disable_{node,leave} API · 68723415
      Jérome Perrin authored
      This allow filtering category item lists so that user can only select nodes /
      leaves in a way similar to filter_{node,leave} but instead of removing the
      items, keep them with None as relative URL. This is something Formulator
      understand, categories are displayed with disable attribute set on the select
      option, which allows to visualize the category hierarchical structure, while
      not allowing user to select {nodes,leaves}
      68723415
  2. 10 Jul, 2020 2 commits
  3. 09 Jul, 2020 4 commits
    • Jérome Perrin's avatar
      tests: simplify and deprecate assertSameSet · 232167c1
      Jérome Perrin authored
      Since a long time python unittest provides good assertions and we don't need to
      build out own.
      232167c1
    • Jérome Perrin's avatar
      credential: prevent multiple failures · 2c80a461
      Jérome Perrin authored
      If a Credential Request/Recovery can not be accepted, the alarm should not
      retry again and again.
      
      We use an hasActivity test before trying to accept to prevent causing multiple
      failing activities, if it already failed once, no need to retry more,
      CMFActivity built-in retry mechanism is enough.
      2c80a461
    • Jérome Perrin's avatar
      pdm: fix "Volume" field · 7e34f3b1
      Jérome Perrin authored
      - Use ³ instead of the HTML entity form, ERP5JS does not allow HTML in field names
      - Make Component_view uses Base_viewPDMFieldLibrary, like Product_view
      - Add the proper description of this in field library
      - Resource_viewFieldLibrary/my_base_volume is kept, for compatibility (not sure it's needed)
      - Adjust ERP5Site_checkNamingConventions to allow m³, not m&179;
      - Update all translations
      7e34f3b1
    • Jérome Perrin's avatar
      web_renderjs_ui: use consistent term for "Invalid Search Criteria" · e3752612
      Jérome Perrin authored
      We sometimes used "Invalid search criteria", sometimes "Invalid Search
      Criteria". Unify to use "Invalid Search Criteria" everywhere
      e3752612
  4. 07 Jul, 2020 5 commits
  5. 06 Jul, 2020 8 commits
  6. 03 Jul, 2020 9 commits
  7. 02 Jul, 2020 10 commits