mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 10:51:17 +00:00
Add "groups" to API forms
This commit is contained in:
1 parent
cd4a797e71
commit
5b42ab7332
4 files changed
+161
-19
No files matched your search
@@ -276,6 +276,7 @@
|
||||
constructForm('{% url "api-part-list" %}', {
|
||||
method: 'POST',
|
||||
fields: fields,
|
||||
groups: partGroups(),
|
||||
title: '{% trans "Create Part" %}',
|
||||
onSuccess: function(data) {
|
||||
// Follow the new part
|
||||
|
||||
Reference in new issue
Block a user