mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-13 03:45:08 +00:00
fix: add option to disable Transaction Log (#49342)
This commit is contained in:
@@ -19,6 +19,9 @@ def create_transaction_log(doc, method):
|
||||
Appends the transaction to a chain of hashed logs for legal resons.
|
||||
Called on submit of Sales Invoice and Payment Entry.
|
||||
"""
|
||||
if frappe.conf.get("disable_transaction_log", False):
|
||||
return
|
||||
|
||||
region = get_region()
|
||||
if region not in ["Germany"]:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user