• Alexandre Boeglin's avatar
    * _isTreeDelivered method moved from Rule to AppliedRule and · c9662b1e
    Alexandre Boeglin authored
      SimulationMovement
    * added transactional variable based cache to _isTreeDelivered
    * activate and flush _isTreeDelivered cache in SimulationMovement.expand and
      AppliedRule.expand (so that it's only active when calling expand, and
      flushed afterwards, to prevent issues if we call expand in the same
      transaction as a builder)
    * modified SimulationMovement.expand behaviour, so that it removes applied
      rules that no longer test(), and add new ones, if no movment in the applied
      rule sub tree is linked to a delivery
    
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17756 20353a03-c40f-0410-a6d1-a30d3c3de9de
    c9662b1e
AppliedRule.py 8.68 KB