Commit d1f00a6c authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Cédric Le Ninivin

builder: Add possibility to specify from date for test purpose

parent 9c94c994
...@@ -300,6 +300,7 @@ class BuilderMixin(XMLObject, Amount, Predicate): ...@@ -300,6 +300,7 @@ class BuilderMixin(XMLObject, Amount, Predicate):
**kw): **kw):
from Products.ERP5Type.Document import newTempMovement from Products.ERP5Type.Document import newTempMovement
portal = self.getPortalObject() portal = self.getPortalObject()
if not from_date:
from_date = DateTime().earliestTime() from_date = DateTime().earliestTime()
# Initiate Conditions taken from Yusei T. Original Script # Initiate Conditions taken from Yusei T. Original Script
......
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