Commit 9cd40943 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 d7ba4de0
......@@ -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