changeset 947ef95c15d7 in modules/sale_supply_production:default
details: 
https://hg.tryton.org/modules/sale_supply_production?cmd=changeset&node=947ef95c15d7
description:
        Plan production for today when there is no shipping date

        issue11258
        review356031002
diffstat:

 sale.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 09d3209d099c -r 947ef95c15d7 sale.py
--- a/sale.py   Sun Jan 23 12:54:56 2022 +0100
+++ b/sale.py   Fri Feb 18 09:40:35 2022 +0100
@@ -91,7 +91,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