mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 11:35:41 +00:00
Revert "Create a default shipment when creating SO"
This reverts commit c7003fbed8
.
This commit is contained in:
@ -362,17 +362,6 @@ function createSalesOrder(options={}) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onSuccess: function(data) {
|
onSuccess: function(data) {
|
||||||
inventreePut(
|
|
||||||
'{% url "api-so-shipment-list" %}',
|
|
||||||
{
|
|
||||||
order: data.pk,
|
|
||||||
reference: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
method: 'POST'
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
location.href = `/order/sales-order/${data.pk}/`;
|
location.href = `/order/sales-order/${data.pk}/`;
|
||||||
},
|
},
|
||||||
title: '{% trans "Create Sales Order" %}',
|
title: '{% trans "Create Sales Order" %}',
|
||||||
|
Reference in New Issue
Block a user