mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-28 02:28:43 +00:00
Add function to duplicate stock item
This commit is contained in:
1 parent
05beb26c82
commit
8040ad8a6a
4 files changed
+31
-3
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user