Remove "default_supplier" field when duplicating a part

This commit is contained in:
Oliver 2021-09-24 12:04:36 +10:00
parent d2b9993e96
commit f53aac0784

View File

@ -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) {