Shipment contact info (#13016)

* Add 'contact' field to SalesOrderShipment model

* add unit test

* Update shipment table

* improve UI form

* Add 'phone' and 'email' fields to Address model

* Bump API version

* Update CHANGELOG

* Updated docs
This commit is contained in:
Oliver authored and GitHub committed 2026-10-14 19:33:33 +11:00
1 parent dec51eab52
commit 720ba157bb
18 files changed
+296 -8

No files matched your search

+3 -1
View File
@@ -51,7 +51,7 @@ The list of contacts associated with a particular company is available in the <s
{{ image("purchasing/contact_list.png", "Company Contacts") }}
A *contact* can be assigned to orders, (such as [purchase orders](../purchasing/purchase_order.md) or [sales orders](../sales/sales_order.md)).
A *contact* can be assigned to orders, (such as [purchase orders](../purchasing/purchase_order.md) or [sales orders](../sales/sales_order.md)), and to individual [sales order shipments](../sales/sales_order.md#shipment-contact).
### Addresses
@@ -68,6 +68,8 @@ Addresses are composed differently across the world, and InvenTree reflects this
| City | The city/region tied to the postal code |
| Province | The larger region the address is located in. Also known as State in some countries |
| Country | Country the address is located in |
| Phone | Phone number for this address (optional) |
| Email | Email address for this address (optional) |
Here are a couple of examples of how the address structure differs by country, but these components can construct a correctly formatted address for any given country.
+4
View File
@@ -264,6 +264,10 @@ A unique number for the shipment, used to identify each shipment within a sales
A shipping address can be optionally specified for an individual shipment. If not specified, the [shipping address assigned to the sales order](#sales-order-address) will be used.
#### Shipment Contact
An optional point of contact for the shipment (for example, the person receiving the delivery). The contact must be one of the [contacts](../concepts/company.md#contacts) assigned to the [customer](./customer.md) linked to the sales order.
#### Tracking Number
An optional field used to store tracking number information for the shipment.