mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove "default_supplier" field when duplicating a part
This commit is contained in:
parent
d2b9993e96
commit
f53aac0784
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user