-
Notifications
You must be signed in to change notification settings - Fork 7.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accounting Dimensions not fitched when "Round Off" added to the GL_Entry #22295
Comments
@m4mousa this issue should have been fixed by https://github.com/frappe/erpnext/pull/21691/files#diff-05872d9fe8d480b03ddb3e7509b2048bR984 and this was released in v12.9.0 Can you please check your version once again and confirm |
I have already checked this but it does not fix the issue |
any update on this |
Would it work if the cost center and project are two special checkboxs under company record to be checked as consider as dimensions. Then the get_accounting_dimensions() will add them to the list based on the check on those two special (legacy) dimensions. The mandatory for P&L and BS can also be managed with such a special setup. Alternatively, allow those two special dimensions to be created as accounting dimensions and let the system work the way it does right now. |
This is still happening on v12.13.0 . My fix was basically the same thing as above but ensure that all dimensions are added instead. general_ledger.py Line 253
|
Should be fixed via #30754 |
Description of the issue
when I submit sales invoice I got a message asks me to set accounting dimension which I already set in the invoice.
Context information (for bug reports)
Output of
bench version
Steps to reproduce the issue
Item Quantity Rate
item01 1 12
item02 1 36
Observed result
Accounting Dimension Branch is required for 'Profit and Loss' account 52012208 - Round Off - NCT.
Expected result
Normal Submit
Stacktrace / full error message
Additional information
I fixed this issue by editing file: frappe-bench/apps/erpnext/erpnext/accounts/general_ledger.py
in the function "make_round_off_gle" I made some modifications as:
Original:
for k in ["voucher_type", "voucher_no", "company",
"posting_date", "remarks", "is_opening"]:
My Modification:
for k in ["voucher_type", "voucher_no", "company",
"posting_date", "remarks", "is_opening", "branch"]:
The text was updated successfully, but these errors were encountered: