Store original planned date of requested internal shipments and productions
Closes #14477
This commit is contained in:
1 parent
70701c14e4
commit
be708ea16c
4 files changed
+5
No files matched your search
@@ -1,3 +1,4 @@
|
||||
* Store original planned date of requested internal shipments
|
||||
|
||||
Version 7.8.0 - 2025-12-15
|
||||
--------------------------
|
||||
|
||||
@@ -159,6 +159,7 @@ class ShipmentInternal(ModelSQL, ModelView):
|
||||
from_location=from_location,
|
||||
to_location=to_location,
|
||||
planned_date=date,
|
||||
origin_planned_date=date,
|
||||
state='request',
|
||||
)
|
||||
shipment_moves = []
|
||||
@@ -170,6 +171,7 @@ class ShipmentInternal(ModelSQL, ModelView):
|
||||
from_location=from_location,
|
||||
to_location=to_location,
|
||||
planned_date=date,
|
||||
origin_planned_date=date,
|
||||
product=product,
|
||||
quantity=qty,
|
||||
unit=product.default_uom,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
* Store original planned date of requested production
|
||||
|
||||
Version 7.8.0 - 2025-12-15
|
||||
--------------------------
|
||||
|
||||
@@ -181,6 +181,7 @@ class Production(metaclass=PoolMeta):
|
||||
origin = 'stock.order_point,-1'
|
||||
return cls(
|
||||
planned_date=date,
|
||||
origin_planned_date=date,
|
||||
company=company,
|
||||
warehouse=warehouse,
|
||||
location=warehouse.production_location,
|
||||
|
||||
Reference in new issue
Block a user