File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments