changeset fcf8e2994421 in modules/sale_supply_production:6.2
details: 
https://hg.tryton.org/modules/sale_supply_production?cmd=changeset&node=fcf8e2994421
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 598405106d82 -r fcf8e2994421 sale.py
--- a/sale.py   Mon Nov 01 17:32:38 2021 +0100
+++ b/sale.py   Fri Feb 18 09:40:35 2022 +0100
@@ -89,7 +89,7 @@
                         for l in invoice_lines)):
                 return
 
-        date = self.shipping_date
+        date = self.shipping_date or today
         if date <= today:
             date = today
         else:

Reply via email to