refactor(accounts): merge gl_entry_builder.py into base_gl_composer.py

The free functions (get_gl_dict, add_gl_entry, get_voucher_subtype, etc.) live
in the same module as BaseGLComposer — they are all about building GL entries,
so there is no reason to split them across two files. Removes gl_entry_builder.py
and updates all import references to base_gl_composer.
This commit is contained in:
Nabin Hait
2026-05-27 22:32:06 +05:30
parent cba6a31497
commit 983d80f7c5
4 changed files with 225 additions and 236 deletions

View File

@@ -1661,7 +1661,7 @@ class StockController(AccountsController):
item=None,
posting_date=None,
):
from erpnext.accounts.services.gl_entry_builder import add_gl_entry
from erpnext.accounts.services.base_gl_composer import add_gl_entry
add_gl_entry(
self,