summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/stock_picking.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 82ac9735..d0315c43 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -1015,9 +1015,9 @@ class StockPicking(models.Model):
# if self.sale_id.hold_outgoing == True and self.location_id.id == 57 and self.location_dest_id.id == 60:
# raise UserError("SO on hold")
res = super(StockPicking, self).action_assign()
- current_time = datetime.datetime.utcnow()
- self.real_shipping_id = self.sale_id.real_shipping_id
- self.date_availability = current_time
+ # current_time = datetime.datetime.utcnow()
+ # self.real_shipping_id = self.sale_id.real_shipping_id
+ # self.date_availability = current_time
# self.check_state_reserve()
return res