mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
added fields to save step
This commit is contained in:
parent
71cc155dc9
commit
1556663254
@ -388,6 +388,17 @@ class PartImport(FileManagementFormView):
|
|||||||
category=optional_matches['Category'],
|
category=optional_matches['Category'],
|
||||||
default_location=optional_matches['default_location'],
|
default_location=optional_matches['default_location'],
|
||||||
default_supplier=optional_matches['default_supplier'],
|
default_supplier=optional_matches['default_supplier'],
|
||||||
|
variant_of=optional_matches['variant_of'],
|
||||||
|
active=optional_matches['active'],
|
||||||
|
base_cost=optional_matches['base_cost'],
|
||||||
|
multiple=optional_matches['multiple'],
|
||||||
|
assembly=optional_matches['assembly'],
|
||||||
|
component=optional_matches['component'],
|
||||||
|
is_template=optional_matches['is_template'],
|
||||||
|
purchaseable=optional_matches['purchaseable'],
|
||||||
|
salable=optional_matches['salable'],
|
||||||
|
trackable=optional_matches['trackable'],
|
||||||
|
virtual=optional_matches['virtual'],
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
new_part.save()
|
new_part.save()
|
||||||
|
Loading…
Reference in New Issue
Block a user