Commit 48116158 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Titouan Soulard

builder: Supply builder take into account from_date parameter

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