mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-22 19:55:29 +00:00
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com> 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