fix(regional): allow regional override for updating gl_dict (#35550)

(cherry picked from commit b1ef19a0cd)
This commit is contained in:
Smit Vora
2023-06-05 01:43:26 +05:30
committed by Mergify
parent 5b92334e95
commit 57b502b9de

View File

@@ -758,6 +758,7 @@ class AccountsController(TransactionBase):
}
)
update_gl_dict_with_regional_fields(self, gl_dict)
accounting_dimensions = get_accounting_dimensions()
dimension_dict = frappe._dict()
@@ -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