mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-28 20:33:32 +00:00
Remove "default_supplier" field when duplicating a part
This commit is contained in:
1 parent
d2b9993e96
commit
f53aac0784
1 file changed
+3
@@ -346,6 +346,9 @@ function duplicatePart(pk, options={}) {
|
||||
duplicate: pk,
|
||||
});
|
||||
|
||||
// Remove "default_supplier" field
|
||||
delete fields['default_supplier'];
|
||||
|
||||
// If we are making a "variant" part
|
||||
if (options.variant) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user