mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@ -282,7 +282,7 @@ class AjaxCreateView(AjaxMixin, CreateView):
|
|||||||
|
|
||||||
# Return the PK of the newly-created object
|
# Return the PK of the newly-created object
|
||||||
data['pk'] = self.object.pk
|
data['pk'] = self.object.pk
|
||||||
data['text'] = str(object)
|
data['text'] = str(self.object)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
data['url'] = self.object.get_absolute_url()
|
data['url'] = self.object.get_absolute_url()
|
||||||
|
Reference in New Issue
Block a user