1. 25 Feb, 2024 3 commits
    • Jérome Perrin's avatar
      0ed42f1c
    • Jérome Perrin's avatar
      *: refactor edit_order of Base._edit 💥 · 6dbd6f76
      Jérome Perrin authored
      and maybe :
      
      ERP5Type/Base: execute workflow interactions in alphabetic order
      
      With a perfect configuration, this should probably does not matter,
      because the order of interactions should not be important (if there
      are dependencies they should be handled more explicitly), but this
      makes the behavior deterministic.
      
      and maybe:
      
      always sort in edit
      6dbd6f76
    • Jérome Perrin's avatar
      base: fix movement_resource_interaction_workflow · bf46978e
      Jérome Perrin authored
      movement.hasCategory('quantity_unit') was always false, it was a
      misunderstanding of hasCategory API. This was working anyway because
      of the order of edit (which depends on iteration order of **kw arguments
      passed to edit), this was only working when quantity unit was set before
      resource.
      
      ( this was revealed by test_01_quantity_unit_copied from testInvoice
      running on python2 with PYTHONHASHSEED=164 )
      bf46978e
  2. 23 Feb, 2024 2 commits
  3. 22 Feb, 2024 8 commits
  4. 21 Feb, 2024 4 commits
  5. 16 Feb, 2024 1 commit
  6. 15 Feb, 2024 1 commit
  7. 13 Feb, 2024 1 commit
  8. 12 Feb, 2024 1 commit
    • Vincent Pelletier's avatar
      Base_getWorkflowHistoryItemList: Remove access override · 1532fabb
      Vincent Pelletier authored
      This script has no reason to be an exception to user's title retrieval
      permissions.
      Non-ERP5 users do not have applicable access control, so handle those
      cases specifically. Such users may be:
      - since-deleted ERP5 users
      - coming from acl_users/zodb_users
      Use a generic placeholder when the user is not allowed to see a
      transition's actor.
      1532fabb
  9. 09 Feb, 2024 7 commits
  10. 08 Feb, 2024 3 commits
  11. 07 Feb, 2024 1 commit
  12. 06 Feb, 2024 5 commits
  13. 02 Feb, 2024 3 commits