1. 17 May, 2024 1 commit
    • Jérome Perrin's avatar
      accounting: fix error in Journal report with lines with an acquired node · 2ca25775
      Jérome Perrin authored
      If a transaction is selected but instead of having accounts as
      source/destination on lines it acquires the organisation set as
      source/destination on the transaction, this causes an AttributeError
      getGapList when trying to use this organisation as an account.
      
      To fix this, adjust the getMovementHistoryList parameters to select only
      lines using accounts, by passing node_uid, which is O(n) on the number
      of accounts, but the number of accounts is not supposed to be too large
      and other reports also do this assumption.
      2ca25775
  2. 16 May, 2024 1 commit
  3. 15 May, 2024 3 commits
  4. 14 May, 2024 8 commits
  5. 13 May, 2024 1 commit
  6. 12 May, 2024 2 commits
  7. 10 May, 2024 1 commit
  8. 09 May, 2024 6 commits
  9. 08 May, 2024 2 commits
  10. 07 May, 2024 2 commits
  11. 30 Apr, 2024 1 commit
  12. 29 Apr, 2024 1 commit
  13. 24 Apr, 2024 1 commit
  14. 22 Apr, 2024 1 commit
  15. 16 Apr, 2024 5 commits
    • Rafael Monnerat's avatar
      More fixes for json editor · f2318991
      Rafael Monnerat authored
      See merge request nexedi/erp5!1919
      f2318991
    • Rafael Monnerat's avatar
      e17a41e5
    • Rafael Monnerat's avatar
      erp5_json_editor: Fixup const and ensureArraySize · 273c120a
      Rafael Monnerat authored
         * const is handled as enum with a single value automatically
         * patch ensureArraySize to not modify the user input, let the user safely slice by himself.
         * Reorganise patches so it is grouped by prototype
      273c120a
    • Vincent Pelletier's avatar
    • Vincent Pelletier's avatar
      Optimise security group generation performance · 354c857e
      Vincent Pelletier authored
      Improvements compared to the previous implementation:
      - avoid looking up the user document again, when the PAS plugin already did
        that job
      - make it possible to call a single script when multiple sources of groups
        are based on the same documents, avoiding iterating unnecessarily on
        those same documents multiple times
      - avoid repeating the same membership value (ex: when a user has multiple
        assignments with a common membership subset)
      - avoid resolving the same relation more than once
      - do not go from document value to relative URL only to go from relative
        URL back to document value at the next step
      - move security group id extraction to unrestricted python, as the security
        overhead was taking a large amount of time
      In a security setup with 8 scripts (all Assignment-based), 6 base
      categories, and 4 Assignments (all valid), this implementation is 10 times
      faster at producing the same group id set as the previous one.
      354c857e
  16. 15 Apr, 2024 1 commit
  17. 13 Apr, 2024 3 commits