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:
@ -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