An error occurred fetching the project authors.
  1. 10 Aug, 2016 1 commit
  2. 30 Jun, 2015 1 commit
    • Sebastien Robin's avatar
      simulation: review generated delivery builder (update existing deliveries, date precision) · 15f08b29
      Sebastien Robin authored
      Up to know, order builders were mostly used having in mind the idea of
      deleting all previously created automated orders.
      
      This way was mostly requesting to run generated delivery builder only
      once per night, assuming there is no users working at that time.
      
      So to allows running very often (many times a day) generated delivery
      builders, allow them to update existing deliveries. This way :
      - automated deliveries could be much more up to date
      - there is no need to delete everything
      - this generate few activities, there is no need of a long calculation
        to update everything
      
      Also, the stock optimization was using dates with a precision of one
      full day. Generic code must support much better precision.
      15f08b29
  3. 10 Mar, 2015 1 commit
  4. 17 Feb, 2015 3 commits
  5. 11 May, 2012 1 commit
  6. 21 Dec, 2010 1 commit
  7. 20 Dec, 2010 1 commit
  8. 07 Nov, 2010 1 commit
  9. 23 Dec, 2009 1 commit
  10. 17 Nov, 2009 1 commit
  11. 13 Oct, 2009 1 commit
  12. 06 Jul, 2009 1 commit
  13. 12 May, 2009 1 commit
  14. 24 Oct, 2008 1 commit
    • Kazuhiko Shiozaki's avatar
      use DateTime(str(DateTime().earliestTime() + gap)) instead of · f14e5ad2
      Kazuhiko Shiozaki authored
      (DateTime().earliestTime() + gap).earliestTime(), since
      DateTime().__add__() returns a different tz offset if daylight saving
      changes.
      
      For example (timezone is Europe/Paris):
      
      >>> DateTime().earliestTime()
      DateTime('2008/10/24')
      >>> DateTime().earliestTime()._tz
      'GMT+2'
      >>> (DateTime().earliestTime()+10)
      DateTime('2008/11/03')
      >>> (DateTime().earliestTime()+10)._tz
      'GMT+2'
      >>> DateTime(str((DateTime().earliestTime()+10)))
      DateTime('2008/11/03')
      >>> DateTime(str((DateTime().earliestTime()+10)))._tz
      'GMT+1'
      
      
      git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24312 20353a03-c40f-0410-a6d1-a30d3c3de9de
      f14e5ad2
  15. 16 Sep, 2008 2 commits
  16. 18 Jul, 2008 2 commits