mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
pre-fill 'issued_by' user
This commit is contained in:
parent
a722057dab
commit
a416c56e5a
@ -696,6 +696,9 @@ class BuildCreate(AjaxCreateView):
|
||||
|
||||
initials['quantity'] = self.request.GET.get('quantity', 1)
|
||||
|
||||
# Pre-fill the issued_by user
|
||||
initials['issued_by'] = self.request.user
|
||||
|
||||
return initials
|
||||
|
||||
def get_data(self):
|
||||
|
Loading…
Reference in New Issue
Block a user