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

builder: Supply builder take into account from_date parameter

parent 1fa823e3
......@@ -298,7 +298,7 @@ class BuilderMixin(XMLObject, Amount, Predicate):
group_by_node=1, allow_intermediate_negative_stock=True,
**kw):
portal = self.getPortalObject()
if not from_date:
if from_date is None:
from_date = DateTime().earliestTime()
# 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