Skip to content

Commit

Permalink
fix(regional): allow regional override for updating gl_dict (#35550)
Browse files Browse the repository at this point in the history
(cherry picked from commit b1ef19a)
  • Loading branch information
vorasmit authored and mergify[bot] committed Jun 5, 2023
1 parent 5b92334 commit 57b502b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions erpnext/controllers/accounts_controller.py
Expand Up @@ -758,6 +758,7 @@ def get_gl_dict(self, args, account_currency=None, item=None):
}
)

update_gl_dict_with_regional_fields(self, gl_dict)
accounting_dimensions = get_accounting_dimensions()
dimension_dict = frappe._dict()

Expand Down Expand Up @@ -2835,3 +2836,8 @@ def validate_regional(doc):
@erpnext.allow_regional
def validate_einvoice_fields(doc):
pass


@erpnext.allow_regional
def update_gl_dict_with_regional_fields(doc, gl_dict):
pass

0 comments on commit 57b502b

Please sign in to comment.