Plan production for today when there is no shipping date

issue11258
review356031002
This commit is contained in:
Adrià Tarroja Caubet
2022-02-18 09:40:35 +01:00
parent e95357e705
commit ba595d5dfb
+1 -1
View File
@@ -91,7 +91,7 @@ class Line(metaclass=PoolMeta):
for l in invoice_lines)):
return
date = self.shipping_date
date = self.shipping_date or today
if date <= today:
date = today
else: