Commit 86582ccc authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_core: Expand simulation with priority 2

parent 471cb305
......@@ -35,6 +35,8 @@ from Products.ERP5Type.Base import Base
from Products.ERP5Type.TransactionalVariable import getTransactionalVariable
from Products.ERP5Type.Errors import SimulationError
class SimulableMixin(Base):
security = ClassSecurityInfo()
......@@ -97,7 +99,8 @@ class SimulableMixin(Base):
if applied_rule is None:
applied_rule = self._createRootAppliedRule()
expand_root = applied_rule is not None
activate_kw = {'tag': 'build:'+self.getPath()}
activate_kw = {'tag': 'build:'+self.getPath(),
'priotity': 2}
if expand_root:
applied_rule.expand(activate_kw=activate_kw)
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment