mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Revert "Create a default shipment when creating SO"
This reverts commit c7003fbed8
.
This commit is contained in:
parent
c7003fbed8
commit
9ae8a6b219
@ -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" %}',
|
||||
|
Loading…
Reference in New Issue
Block a user