From c5f6b524c9afc4e3170fa8916ce5f57c371836ba Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Fri, 24 Jun 2022 03:08:47 +0200 Subject: [PATCH] style: format --- erpnext_germany/__init__.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) 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)