Skip to content

Commit 3620812

Browse files
committed
Merge PR #1108 into 18.0
Signed-off-by pedrobaeza
2 parents a8a3e62 + af2b8a1 commit 3620812

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

delivery_state/models/stock_picking.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,24 @@ class StockPicking(models.Model):
1212
date_shipped = fields.Date(
1313
string="Shipment Date",
1414
readonly=True,
15+
copy=False,
1516
)
1617
date_delivered = fields.Datetime(
1718
string="Delivery Date",
1819
readonly=True,
20+
copy=False,
1921
)
22+
# Technical field to store raw tracking data from the carrier API
23+
tracking_json = fields.Json(readonly=True, copy=False)
2024
tracking_state = fields.Char(
2125
readonly=True,
2226
index=True,
2327
tracking=True,
28+
copy=False,
2429
)
2530
tracking_state_history = fields.Text(
2631
readonly=True,
32+
copy=False,
2733
)
2834
delivery_state = fields.Selection(
2935
selection=[
@@ -38,6 +44,7 @@ class StockPicking(models.Model):
3844
string="Carrier State",
3945
tracking=True,
4046
readonly=True,
47+
copy=False,
4148
)
4249
pod_file = fields.Binary(
4350
string="Proof of Delivery File",

0 commit comments

Comments
 (0)