1. 16 Dec, 2019 4 commits
    • Jérome Perrin's avatar
      WIP: Inventory api: interpolation + group by time sequence · 024e1a80
      Jérome Perrin authored
      jerome/erp5!6 rebased and in a big
      commit so that we can start using that
      SimulationTool: implement "linear" flow API
      
      testInventoryAPI: silent pyflakes warnings
      
      more interpolation implementation
      
      inventory_list interpolation flow: support at_date & to_date
      
      more and more interpolation API
      
      interpolation
      
      interpolation
      
      group_by_time_sequence_list
      
      testInventoryAPI: move inventory valuation methods in a dedicated test class
      
      This should not be in test inventory list.
      
      test: move Tracking API to a dedicated test module
      
      inventory api: dirty way of disabling cache if keys such as node_category are used.
      
      interpolation: security on SimulationTool_zGetInterpolationMethod
      
      SimulationTool_zGetInterpolationMethod is called in restricted context
      of Resource_zGetMovementHistoryList so it needs to be usable by
      anonymous.
      
      ZSQL Method does not read parameters from REQUEST, so it looks safe.
      024e1a80
    • Jérome Perrin's avatar
      calendar: Group Presence Period repeat only for the duration of the Group Calendar Assignment · 7d81be02
      Jérome Perrin authored
      We should be able to configure a group calendar saying that the pattern
      is "from 9:00 to 12:00, repeat every monday morning" with a group
      calendar assignment saying "use this pattern from 01/01/2016 until
      31/12/2016" and then create another group calendar assignment for 2017
      without having to change the periodicity stop date on all presence
      periods of the group calendar.
      
      I think it should repeat from group calendar assignment's start date
      until min(group calendar assignment's stop date, presence period's
      periodicity stop date).
      
      (cherry picked from commit b42a9c11)
      7d81be02
    • Jérome Perrin's avatar
      81905a2e
    • Jérome Perrin's avatar
      ERP5: workaround Domain.getPrice that cannot lookup price · 31f9ff56
      Jérome Perrin authored
      because Domain.getRelativeUrl (and Category.getRelativeUrl) cannot be
      restrictedTraverse'd
      31f9ff56
  2. 13 Dec, 2019 7 commits
  3. 12 Dec, 2019 5 commits
  4. 11 Dec, 2019 1 commit
    • Jérome Perrin's avatar
      CodingStyleTest: run testXHTML for each business template · 7988bc67
      Jérome Perrin authored
       - run `testXHTML` on business templates "one by one"
       - fix all the problems with the currently tested business templates
       - because `erp5_ingestion` was containing some tests skin folder depending on other business templates and because I did not want to add dependencies to `erp5_ingestion` I moved the tests in `erp5_ingestion_test`.
      
      /reviewed-on nexedi/erp5!989
      7988bc67
  5. 10 Dec, 2019 3 commits
  6. 06 Dec, 2019 4 commits
  7. 03 Dec, 2019 16 commits