1. 15 Apr, 2013 10 commits
  2. 12 Apr, 2013 5 commits
    • Cédric Le Ninivin's avatar
    • Julien Muchembled's avatar
      Fix useless expand after delivery building · faee5904
      Julien Muchembled authored
      This fixes a performance regression introduced in
      commit 0a8fbb36
      ("Simulation: index 'delivery' categories in ZODB")
      
      Built delivery lines are modified by newContent(), before
      SimulatedDeliveryBuilder._setDeliveryMovementProperties() has a chance to set
      the delivery link on the related simulation movement.
      So isGeneratedBySimulation() always returned False.
      
      One solution was to revert all changes in
        product/ERP5/Document/Movement.py
        product/ERP5/Document/SimulatedDeliveryBuilder.py
      from the aforementioned commit, but it's much simpler to move the interaction
      at the end of the transaction, even if in some rare cases, 2 '_updateSimulation'
      activities are created, causing a slight overhead on activity tool.
      Signed-off-by: Kazuhiko Shiozaki's avatarKazuhiko Shiozaki <kazuhiko@nexedi.com>
      faee5904
    • Jérome Perrin's avatar
      CatalogTool: support sorting on a related key · 331fed02
      Jérome Perrin authored
      This approach consists in treating each keys from the default group (the
      one for sort on and select dict) as a left join if the key supports it, at
      column mapping level.
      
      Also update testERP5Catalog, the specification changed a bit.
      Before, using a related key in select_dict had the side effect of not selecting
      documents without related documents unless the key is explicitly passed in
      select_dict. Now all documents are always returned.
      331fed02
    • Jérome Perrin's avatar
      Define getListItemUrl on MovementHistoryListBrain · 267d9f81
      Jérome Perrin authored
      MovementHistoryListBrain links must be pointing to the explanation of the
      movement.
      267d9f81
    • Jérome Perrin's avatar
      simplify code · f15bc6b4
      Jérome Perrin authored
      f15bc6b4
  3. 11 Apr, 2013 6 commits
  4. 10 Apr, 2013 2 commits
  5. 09 Apr, 2013 17 commits