1. 07 Jul, 2020 19 commits
  2. 06 Jul, 2020 8 commits
  3. 03 Jul, 2020 9 commits
  4. 02 Jul, 2020 4 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