mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
Merge pull request #51671 from nikkothari22/advance-taxes-dimensions
fix(accounts): add missing accounting dimensions in advance taxes and charges
This commit is contained in:
@@ -569,6 +569,7 @@ accounting_dimension_doctypes = [
|
|||||||
"Payment Request",
|
"Payment Request",
|
||||||
"Asset Movement Item",
|
"Asset Movement Item",
|
||||||
"Asset Depreciation Schedule",
|
"Asset Depreciation Schedule",
|
||||||
|
"Advance Taxes and Charges",
|
||||||
]
|
]
|
||||||
|
|
||||||
get_matching_queries = (
|
get_matching_queries = (
|
||||||
|
|||||||
@@ -457,4 +457,5 @@ erpnext.patches.v16_0.migrate_tax_withholding_data
|
|||||||
erpnext.patches.v16_0.update_corrected_cancelled_status
|
erpnext.patches.v16_0.update_corrected_cancelled_status
|
||||||
erpnext.patches.v16_0.fix_barcode_typo
|
erpnext.patches.v16_0.fix_barcode_typo
|
||||||
erpnext.patches.v16_0.set_post_change_gl_entries_on_pos_settings
|
erpnext.patches.v16_0.set_post_change_gl_entries_on_pos_settings
|
||||||
|
erpnext.patches.v15_0.create_accounting_dimensions_in_advance_taxes_and_charges
|
||||||
execute:frappe.delete_doc_if_exists("Workspace Sidebar", "Opening & Closing")
|
execute:frappe.delete_doc_if_exists("Workspace Sidebar", "Opening & Closing")
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
from erpnext.accounts.doctype.accounting_dimension.accounting_dimension import (
|
||||||
|
create_accounting_dimensions_for_doctype,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
create_accounting_dimensions_for_doctype(doctype="Advance Taxes and Charges")
|
||||||
Reference in New Issue
Block a user