1. 18 Apr, 2014 2 commits
    • Jérome Perrin's avatar
      95af3461
    • Vincent Pelletier's avatar
      BusinessTemplate: Kill fillRecursivePathList. · 18b0862e
      Vincent Pelletier authored
      fillRecursivePathList could load massive amounts of objects (ex:
      all signatures below portal_synchronizations) even if no object was to
      be removed. Instead, just iterate given lists (objects handled by
      current instance, and actions to perform) and do as much rocessng before
      actually attempt to load any object.
      
      Sadly, the data structures available to this code induce an ugly O(n*m)
      code, which may be optimised to O(m + log(n)) with more complex code if
      really needed (but then, data structure should be improved, with a much
      broader effect).
      18b0862e
  2. 17 Apr, 2014 5 commits
  3. 14 Apr, 2014 8 commits
  4. 11 Apr, 2014 3 commits
  5. 10 Apr, 2014 6 commits
  6. 09 Apr, 2014 5 commits
  7. 08 Apr, 2014 2 commits
    • Jérome Perrin's avatar
      5fa49415
    • Julien Muchembled's avatar
      Price calculation: in default script, return all operands and fix variable additional part · d27a2fa0
      Julien Muchembled authored
      variable_additional_price was not multiplied by the result of getPricingVariable
      as it was done in previous implementation.
      
      In order that the caller has more information about how the price was computed,
      Resource_getPriceCalculationOperandDict now returns the result of
      getPriceParameterDict with following changed:
      - list values involved in priced calculation are replaced by their sums
      - 'price' key is added to holds the computed price
      
      Also removing fallback code from Resource class, since it's been a long time
      that erp5_pdm provides Resource_getPriceCalculationOperandDict
      Resource_getPrice script is kept in case some unrelated code still uses it.
      d27a2fa0
  8. 07 Apr, 2014 4 commits
  9. 04 Apr, 2014 2 commits
  10. 03 Apr, 2014 3 commits