1. 28 Sep, 2022 4 commits
  2. 27 Sep, 2022 3 commits
  3. 26 Sep, 2022 14 commits
  4. 23 Sep, 2022 4 commits
  5. 22 Sep, 2022 2 commits
  6. 21 Sep, 2022 5 commits
  7. 20 Sep, 2022 2 commits
  8. 16 Sep, 2022 3 commits
  9. 15 Sep, 2022 3 commits
    • Jérome Perrin's avatar
      Arrow categories types · adcb959e
      Jérome Perrin authored
      See merge request nexedi/erp5!1665
      adcb959e
    • Jérome Perrin's avatar
      simulation: introduce MovementGeneratorMixin._updateGeneratedMovementList · 93a0f39f
      Jérome Perrin authored
      This allows custom movement generators to set ad-hoc properties on
      generated movements depending on properties of the corresponding
      input movement.
      
      There was already _getUpdatePropertyDict which is similar, but was
      sometimes not enough because it can only be use to set extra
      properties on all movements.
      
      As a result, when we needed a rule with custom properties on
      generated movements, we resorted to overriding getGeneratedMovementList
      and duplicating the full logic of the method. Existing cases have
      been updated to use the new _updateGeneratedMovementList and in the
      case of InventoryAssetPriceAccountingRuleMovementGenerator we no
      longer need to duplicate the logic.
      
      Also remove the comment suggesting overriding getGeneratedMovementList
      in subclasses, now several "extension" methods exists, so it should
      not be needed to override getGeneratedMovementList, every needs
      should be coverred by defining _updateGeneratedMovementList or
      _getUpdatePropertyDict
      93a0f39f
    • Jérome Perrin's avatar
      ERP5Type/patches/User: drop BasicUser.allowed patch · 6c6a8098
      Jérome Perrin authored
      This patch does not seem necessary
      6c6a8098