mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-23 04:04:52 +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.
|
Appends the transaction to a chain of hashed logs for legal resons.
|
||||||
Called on submit of Sales Invoice and Payment Entry.
|
Called on submit of Sales Invoice and Payment Entry.
|
||||||
"""
|
"""
|
||||||
|
if frappe.conf.get("disable_transaction_log", False):
|
||||||
|
return
|
||||||
|
|
||||||
region = get_region()
|
region = get_region()
|
||||||
if region not in ["Germany"]:
|
if region not in ["Germany"]:
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user