1. 12 Apr, 2013 4 commits
    • 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
  2. 11 Apr, 2013 6 commits
  3. 10 Apr, 2013 2 commits
  4. 09 Apr, 2013 17 commits
  5. 08 Apr, 2013 4 commits
  6. 06 Apr, 2013 1 commit
  7. 05 Apr, 2013 6 commits