2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-12 14:50:54 +00:00

Merge remote-tracking branch 'inventree/master' into date-format

This commit is contained in:
Oliver
2022-03-01 08:18:24 +11:00
17 changed files with 620 additions and 111 deletions

View File

@@ -313,6 +313,10 @@
fields: fields,
groups: partGroups(),
title: '{% trans "Create Part" %}',
reloadFormAfterSuccess: true,
persist: true,
persistMessage: '{% trans "Create another part after this one" %}',
successMessage: '{% trans "Part created successfully" %}',
onSuccess: function(data) {
// Follow the new part
location.href = `/part/${data.pk}/`;