From 2817ac955d3eea44adbfe4b203f471bc3b2c109b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Tarroja=20Caubet?= Date: Fri, 18 Feb 2022 09:40:35 +0100 Subject: [PATCH] Plan production for today when there is no shipping date issue11258 review356031002 (grafted from 947ef95c15d70bc3c30670f9898b3dd897aee62f) --HG-- branch : 6.0 --- sale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale.py b/sale.py index b32b9321c1..2be6dc5669 100644 --- a/sale.py +++ b/sale.py @@ -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: