diff --git a/erpnext_germany/__init__.py b/erpnext_germany/__init__.py index a486cf0..dcdd087 100644 --- a/erpnext_germany/__init__.py +++ b/erpnext_germany/__init__.py @@ -1,5 +1,4 @@ - -__version__ = '0.0.1' +__version__ = "0.0.1" import frappe from frappe import _ @@ -18,9 +17,11 @@ def create_transaction_log(doc, method): data = str(doc.as_dict()) - frappe.get_doc({ - "doctype": "Transaction Log", - "reference_doctype": doc.doctype, - "document_name": doc.name, - "data": data - }).insert(ignore_permissions=True) + frappe.get_doc( + { + "doctype": "Transaction Log", + "reference_doctype": doc.doctype, + "document_name": doc.name, + "data": data, + } + ).insert(ignore_permissions=True)