Commit b5aa3d1a authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Your Name

builder: Add generateMovementListForStockOptimisationFromSupplyDefinition

buidler: Add tmp fix/workaround on movement order

builder: Use periodicity to determinate start date

builder mixin: Take into account supply date range before create movement

builder: Hackish immediate reindex of order to work for parallel build

builder: use dedicated script to evaluate min stock

builder: autoPlan only if possible

builder: Reference of order line is reference of resource line

builder: include order delay and effective date

builder: fixup add missing part for effective date

builder: Tweak and fix supply builder

builder: Fixup supply builder

builder: immediate reindex delivery on creation

builder: use _edit on delivery to only reindex modification

builder: Supply builder work with period

builder: Supply builder improved

builder: use flow unit for min stock calculation

builder:  Supply Builder Fix future inventory for parts not activated yet

builder: Supply builder do not create movement for resources that won't be consumed in the future
parent ff9c75fd
This diff is collapsed.
...@@ -542,7 +542,10 @@ class SimulableMixin(Base): ...@@ -542,7 +542,10 @@ class SimulableMixin(Base):
if applied_rule is None: if applied_rule is None:
applied_rule = self._createRootAppliedRule() applied_rule = self._createRootAppliedRule()
expand_root = applied_rule is not None expand_root = applied_rule is not None
activate_kw = {'tag': 'build:'+self.getPath()} activate_kw = {
'priority': 4,
'tag': 'build:'+self.getPath(),
}
if expand_root: if expand_root:
applied_rule.expand(activate_kw=activate_kw) applied_rule.expand(activate_kw=activate_kw)
else: 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