details:   https://code.tryton.org/tryton/commit/b522670d4d63
branch:    default
user:      Cédric Krier <[email protected]>
date:      Thu Jan 08 12:04:46 2026 +0100
description:
        Store original planned date of requested internal shipments and 
productions

        Closes #14477
diffstat:

 modules/stock_supply/CHANGELOG                |  1 +
 modules/stock_supply/shipment.py              |  2 ++
 modules/stock_supply_production/CHANGELOG     |  1 +
 modules/stock_supply_production/production.py |  1 +
 4 files changed, 5 insertions(+), 0 deletions(-)

diffs (46 lines):

diff -r b8e810b49b3b -r b522670d4d63 modules/stock_supply/CHANGELOG
--- a/modules/stock_supply/CHANGELOG    Sat Jan 17 12:54:09 2026 +0100
+++ b/modules/stock_supply/CHANGELOG    Thu Jan 08 12:04:46 2026 +0100
@@ -1,3 +1,4 @@
+* Store original planned date of requested internal shipments
 
 Version 7.8.0 - 2025-12-15
 --------------------------
diff -r b8e810b49b3b -r b522670d4d63 modules/stock_supply/shipment.py
--- a/modules/stock_supply/shipment.py  Sat Jan 17 12:54:09 2026 +0100
+++ b/modules/stock_supply/shipment.py  Thu Jan 08 12:04:46 2026 +0100
@@ -159,6 +159,7 @@
                     from_location=from_location,
                     to_location=to_location,
                     planned_date=date,
+                    origin_planned_date=date,
                     state='request',
                     )
                 shipment_moves = []
@@ -170,6 +171,7 @@
                             from_location=from_location,
                             to_location=to_location,
                             planned_date=date,
+                            origin_planned_date=date,
                             product=product,
                             quantity=qty,
                             unit=product.default_uom,
diff -r b8e810b49b3b -r b522670d4d63 modules/stock_supply_production/CHANGELOG
--- a/modules/stock_supply_production/CHANGELOG Sat Jan 17 12:54:09 2026 +0100
+++ b/modules/stock_supply_production/CHANGELOG Thu Jan 08 12:04:46 2026 +0100
@@ -1,3 +1,4 @@
+* Store original planned date of requested production
 
 Version 7.8.0 - 2025-12-15
 --------------------------
diff -r b8e810b49b3b -r b522670d4d63 
modules/stock_supply_production/production.py
--- a/modules/stock_supply_production/production.py     Sat Jan 17 12:54:09 
2026 +0100
+++ b/modules/stock_supply_production/production.py     Thu Jan 08 12:04:46 
2026 +0100
@@ -181,6 +181,7 @@
             origin = 'stock.order_point,-1'
         return cls(
             planned_date=date,
+            origin_planned_date=date,
             company=company,
             warehouse=warehouse,
             location=warehouse.production_location,

Reply via email to