1. 29 Oct, 2018 1 commit
    • Vincent Pelletier's avatar
      testTradeReports: Allow reusing in site-dependent security group setups. · fc3da930
      Vincent Pelletier authored
      This test alone does not define site-dependent security groups, so this
      change is not required as such.
      But in real configuration, ERP5 instance define security groups, which
      sometimes (often ?) depend on which site a document or user is linked to.
      When multiple groups apply (ex: having a certain function at a certain
      site), the final group is composed by joining group identifiers using
      underscores. This forbids using underscores in group identifiers.
      And group identifiers are generated from document's (here, the Category)
      codification if set, otherwise the reference if set, otherwise the document
      identifier.
      So set a underscore-less codification on these categories so this test can
      be run on tests where security is configured to include site in security
      groups.
      fc3da930
  2. 26 Oct, 2018 2 commits
    • Georgios Dagkakis's avatar
      SelectionTool/Listbox: Fix in calculating the start of last page in selection · 405ee70e
      Georgios Dagkakis authored
      as the comment (which is removed now) said:
      
      ```
              XXX: This method is broken, since "total_size" field is not
              present in the listbox rendering any longer. It should be
              removed.
      ```
      
      Also:
      - make sure that Listbox always knows how many lines are to be displayed.
      - add testPagerWithCustomListMethod in listbox_zuite of erp5_ui_test,
      which checks that listbox jumping to previous/next/first/last works correctly
      for a list method that returns only the elements that the listbox is to render.
      
      
      /reviewed-on !776
      405ee70e
    • Vincent Pelletier's avatar
      ERP5Catalog: tolerate non-set return value for ERP5Site_filterUserIdSet · c026335b
      Vincent Pelletier authored
      set.__iadd__ does not like non-set values, but the intent of this API is
      to allow just any iterable (producing strings) to be returned, so use
      the more tolerant set.update method instead.
      c026335b
  3. 25 Oct, 2018 18 commits
  4. 24 Oct, 2018 7 commits
  5. 23 Oct, 2018 5 commits
  6. 22 Oct, 2018 7 commits