mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 01:36:55 +00:00
Merge pull request #33316 from frappe/mergify/bp/version-14-hotfix/pr-33313
fix: Permission issue in Tax Detail report (backport #33313)
This commit is contained in:
@@ -234,8 +234,11 @@ def modify_report_columns(doctype, field, column):
|
||||
if field in ["item_tax_rate", "base_net_amount"]:
|
||||
return None
|
||||
|
||||
if doctype == "GL Entry" and field in ["debit", "credit"]:
|
||||
column.update({"label": _("Amount"), "fieldname": "amount"})
|
||||
if doctype == "GL Entry":
|
||||
if field in ["debit", "credit"]:
|
||||
column.update({"label": _("Amount"), "fieldname": "amount"})
|
||||
elif field == "voucher_type":
|
||||
column.update({"fieldtype": "Data", "options": ""})
|
||||
|
||||
if field == "taxes_and_charges":
|
||||
column.update({"label": _("Taxes and Charges Template")})
|
||||
|
||||
Reference in New Issue
Block a user