fix: Removed unexpected keword argument 'indicator' (#7010)

Removed unexpected keyword argument 'indicator' from frappe.throw function.
This commit is contained in:
FinByz Tech Pvt. Ltd 2019-03-02 19:37:28 +05:30 committed by Faris Ansari
parent c7d567c54d
commit bfa4a2c82c

View file

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