2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-11 07:24:15 +00:00

Add function to duplicate stock item

This commit is contained in:
Oliver Walters
2019-04-18 23:28:46 +10:00
parent 05beb26c82
commit 8040ad8a6a
4 changed files with 31 additions and 3 deletions

View File

@ -78,7 +78,7 @@ class PartCreate(AjaxCreateView):
def get_initial(self):
# Is the client attempting to copy an existing part?
part_to_copy = self.request.GET.get('copy_part', None)
part_to_copy = self.request.GET.get('copy', None)
if part_to_copy:
try: