shipcloud: Mark some fields 'readonly' if UI shouldn't write them
This commit is contained in:
parent
8a448e41e2
commit
85aae33280
|
@ -10,8 +10,8 @@ class SMCShippingShipcloud(models.Model):
|
|||
# extend stock.picking with fields related to shipcloud
|
||||
class SMCStockPickingShipclodu(models.Model):
|
||||
_inherit = 'stock.picking'
|
||||
sc_shipment_id = fields.Char(string='shipcloud shipment ID')
|
||||
sc_tracking_url = fields.Char(string='shipcloud tracking URL')
|
||||
sc_shipment_id = fields.Char(string='shipcloud shipment ID', readonly=True)
|
||||
sc_tracking_url = fields.Char(string='shipcloud tracking URL', readonly=True)
|
||||
sc_content_desc = fields.Char(string='Description of Contents')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue