1. 21 Jan, 2021 5 commits
    • Rafael Monnerat's avatar
      Apply commit to Support use category for total price calculation. · 6c4c59f7
      Rafael Monnerat authored
      Original commit from : Lukasz Nowak <luke@nexedi.com>
                             3e45ec35
      6c4c59f7
    • Alain Takoudjou's avatar
      Apply commit: Disallow any compensation. · 362bde46
      Alain Takoudjou authored
      From Lukasz Nowak:
      
      1- Compensation is undesired. (51c8a250)
      
        Raise loudly with message.
      
      2- Disallow any compensation. (3c74ed07)
      
      3- Emit more informative log. (534b2e77)
      362bde46
    • Łukasz Nowak's avatar
      Update Open Order simulation in alarm. · d7cdaeda
      Łukasz Nowak authored
      Also minimise activity hurricane by calling expand directly.
      
      Open Orders are searched using indexation timestamp, which allows to see them
      in "windows", and does not repeat expand if not needed.
      
      Generate activities and allow to pass the tag. Use search and activate
      everywhere which will allow to walk through objects without killing the cluster
      even in case of really big documents.
      
      Avoid calling isDivergent which can take few minutes to finish.
      
      causality_state comes from well designed causality workflow, which informs
      enough about delivery state. Fetching causality_state property is extremely
      fast.
      d7cdaeda
    • Rafael Monnerat's avatar
      Remove most disguised interactions related to simulation. · 8651489a
      Rafael Monnerat authored
      Notes:
      
      Do nothing on 'calculate' instead of disabling *_causality_interaction_workflow as
      these interaction workflows do not generate activities directly, and do work
      that can't be postponed.
      
      By contrast, 'calculate' transition of delivery_causality_workflow is modified
      so that no 'updateCausalityState' activity is created by default.
      
      This commit also update list of method_id which should not call calculate_causality
      8651489a
    • Romain Courteaud's avatar
      Proxy role is needed to access the site message context. · 64cf9323
      Romain Courteaud authored
      Conflicts:
      	bt5/erp5_crm/bt/revision
      64cf9323
  2. 20 Jan, 2021 5 commits
  3. 19 Jan, 2021 5 commits
  4. 18 Jan, 2021 2 commits
    • Vincent Pelletier's avatar
      CMFActivity: Optimise validation queries. · a016ed04
      Vincent Pelletier authored
      See SQLBase._getExecutableMessageSet for operation principle.
      Removes the notion of order_validation_text: activity validation is no
      longer evaluated per-activity , but per-dependency for multiple activities
      at a time. In this context, order_validation_text does not make sense as
      it flattens all dependency types for a given activity.
      Rework activity-dependency-to-SQL methods: use a dict rather
      dynamically-generated method names.
      Based on initial work by Julien Muchembled.
      a016ed04
    • Vincent Pelletier's avatar
      CMFActivity.Activity.SQLBase: Properly release reserved messages when load raises. · f09e1a36
      Vincent Pelletier authored
      Seen happen on SQLDict with 94 indexation activities being stuck assigned
      to a processing node on which load failed because of an SQL deadlock.
      f09e1a36
  5. 14 Jan, 2021 3 commits
  6. 13 Jan, 2021 7 commits
  7. 12 Jan, 2021 4 commits
  8. 11 Jan, 2021 2 commits
  9. 08 Jan, 2021 2 commits
  10. 06 Jan, 2021 4 commits
  11. 05 Jan, 2021 1 commit