changeset 12da10733024 in modules/sale_supply_production:6.0
details:
https://hg.tryton.org/modules/sale_supply_production?cmd=changeset&node=12da10733024
description:
Plan production for today when there is no shipping date
issue11258
review356031002
(grafted from 947ef95c15d70bc3c30670f9898b3dd897aee62f)
diffstat:
sale.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r cd39b13a5377 -r 12da10733024 sale.py
--- a/sale.py Mon May 03 16:06:09 2021 +0200
+++ b/sale.py Fri Feb 18 09:40:35 2022 +0100
@@ -85,7 +85,7 @@
for l in invoice_lines)):
return
- date = self.shipping_date
+ date = self.shipping_date or today
if date <= today:
date = today
else: