mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-27 13:55:19 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user