Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed Jun 24, 2022
1 parent fd269b3 commit c5f6b52
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions erpnext_germany/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

__version__ = '0.0.1'
__version__ = "0.0.1"

import frappe
from frappe import _
Expand All @@ -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)

0 comments on commit c5f6b52

Please sign in to comment.