Plan production for today when there is no shipping date

issue11258
review356031002
(grafted from 947ef95c15d70bc3c30670f9898b3dd897aee62f)

--HG--
branch : 6.0
This commit is contained in:
Adrià Tarroja Caubet committed 2022-02-18 09:40:35 +01:00
1 parent c72081bf6b
commit 2817ac955d
1 file changed
+1 -1
+1 -1
View File
@@ -85,7 +85,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: