Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not allow "Finance Book" in Accounting Dimensions (backport #45696) #45855

Merged
merged 1 commit into from
Feb 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: do not allow "Finance Book" in Accounting Dimensions
(cherry picked from commit a44be73)
  • Loading branch information
ljain112 authored and mergify[bot] committed Feb 11, 2025
commit 43f700720f282f8a6239bd7c5f44ecc67bfdac06
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def validate(self):
"Accounting Dimension Detail",
"Company",
"Account",
"Finance Book",
):
msg = _("Not allowed to create accounting dimension for {0}").format(self.document_type)
frappe.throw(msg)
Expand Down
Loading