fix: Removed unexpected keword argument 'indicator' (#7010)
Removed unexpected keyword argument 'indicator' from frappe.throw function.
This commit is contained in:
parent
c7d567c54d
commit
bfa4a2c82c
1 changed files with 1 additions and 1 deletions
|
|
@ -1216,7 +1216,7 @@ class Document(BaseDocument):
|
|||
|
||||
if file_lock.lock_exists(self.get_signature()):
|
||||
frappe.throw(_('This document is currently queued for execution. Please try again'),
|
||||
title=_('Document Queued'), indicator='red')
|
||||
title=_('Document Queued'))
|
||||
|
||||
self.lock()
|
||||
enqueue('frappe.model.document.execute_action', doctype=self.doctype, name=self.name,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue