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

This commit is contained in:
Smit Vora 2023-06-05 01:43:26 +05:30 committed by GitHub
parent 64f767b95d
commit b1ef19a0cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()
@ -2846,3 +2847,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