1. 13 Jul, 2020 7 commits
  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 5 commits
    • Jérome Perrin's avatar
      pdm: make stock browser dialog an "update only dialog" · 348d0572
      Jérome Perrin authored
      This is not a dialog where user can do an action, it's just a dialog where user
      can change the parameters and update the to see the stock levels, so this
      should be using only an update action (now that this is supported).
      348d0572
    • Jérome Perrin's avatar
      pdm: remove action on Resource_viewMovementHistoryDialog · d4e7c55d
      Jérome Perrin authored
      This is the view when using drill down on stock browser, there's no action
      here, this is not a dialog where user can "Do something" so a button to "Do something" is meaningless.
      
      One reason for this button was to be able to go back to stock browser, but:
       - in ERP5JS, user can go back to stock browser by clicking again on "Stock"
         action from Views actions.
       - In erp5_xhtml_style, user can click the list header or breadcrumb.
      d4e7c55d
    • Jérome Perrin's avatar
      pdm: use different actions categories for ERP5JS and xhtml · 65c75376
      Jérome Perrin authored
      In ERP5JS we want the "interactive reports" to be available like other view
      actions, directly in the left side panel. Also "Report" are named "Export" in
      this interface (which might actually be a mistake, but it's like this now).
      Rendering a form_dialog in a view action works perfectly in ERP5JS, so we can
      take advantage of this.
      
      In xhtml_style, this can not be a object_view action, because object_view
      actions can not use form_dialog, this breaks the navigation.
      
      So split in two actions, to have the best of both worlds
      65c75376
    • Jérome Perrin's avatar
      xhtml_style: support form_dialog without action · d4743f20
      Jérome Perrin authored
      In that case the action button is not displayed.
      If there's an update action defined on the form settings, update button is
      displayed.
      Cancel button is displayed using the same rule as any dialogs (ie. everytime
      there's a cancel_url in request)
      d4743f20
    • Jérome Perrin's avatar
      web_renderjs_ui: support dialogs without action, but with update · 1a3efb85
      Jérome Perrin authored
      update should still be usable in this case
      1a3efb85