mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-14 07:01:56 +00:00
fix: linter issue
This commit is contained in:
@@ -49,7 +49,7 @@ class ChequePrintTemplate(Document):
|
|||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def create_or_update_cheque_print_format(template_name):
|
def create_or_update_cheque_print_format(template_name):
|
||||||
frappe.only_for("System Manager")
|
frappe.only_for("System Manager")
|
||||||
|
|
||||||
if not frappe.db.exists("Print Format", template_name):
|
if not frappe.db.exists("Print Format", template_name):
|
||||||
cheque_print = frappe.new_doc("Print Format")
|
cheque_print = frappe.new_doc("Print Format")
|
||||||
cheque_print.update(
|
cheque_print.update(
|
||||||
|
|||||||
Reference in New Issue
Block a user