Revert "Create a default shipment when creating SO"

This reverts commit c7003fbed8.
This commit is contained in:
Maksim Stojkovic 2022-05-18 23:43:06 +10:00
parent c7003fbed8
commit 9ae8a6b219

View File

@ -362,17 +362,6 @@ function createSalesOrder(options={}) {
}
},
onSuccess: function(data) {
inventreePut(
'{% url "api-so-shipment-list" %}',
{
order: data.pk,
reference: 1
},
{
method: 'POST'
}
);
location.href = `/order/sales-order/${data.pk}/`;
},
title: '{% trans "Create Sales Order" %}',