I Could not create Accounting Dimension?



Hi

Please reload the page or clear cache of your browser by pressing ctrl shift R.

does not worked


as you see appear in report
but does not appear in invoices like

@ahsantareen

Better to delete both dimensions and create them again. Looks like some transaction recorded does not have those dimensions captured.

i will try thx

does not worked with me too

Hi

Dimensions Not Appearing in Transactions

  • Background Jobs: After creating a new dimension, ERPNext runs background jobs to add fields to transactions. If these jobs haven’t completed, the fields might not appear. Monitor the background jobs to ensure completion. Go to RQ Jobs as soon as you create an accounting dimension.

  • Document Compatibility: Ensure that the transactions you’re working with support the added dimensions. Not all documents may be compatible with certain dimensions.

Additional Troubleshooting Steps

  • Clear Cache: Sometimes, browser or system caches can cause display issues. Clear your browser cache and reload ERPNext.
  • Check User Permissions: Ensure that your user role has the necessary permissions to view and edit Accounting Dimensions.
  • Consult Logs: Review system logs for any error messages related to Accounting Dimensions.

empty?

Please check this vedio;

The RQ Jobs are based on background call for which you may need to restart services to activate background workers.


this does not appear with me
and i did not have any access to terminal to restart the service

I am Helpless in this case.

thx for your help @ahsantareen
I am happy by your advice and thx for record video too

1 Like

I found the same issue

Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/caching.py", line 57, in wrapper
    return frappe.local.request_cache[func][args_key]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 5740354900026072187

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/frappe/frappe-bench/env/lib/python3.11/site-packages/rq/worker.py", line 1428, in perform_job
    rv = job.perform()
         ^^^^^^^^^^^^^
  File "/home/frappe/frappe-bench/env/lib/python3.11/site-packages/rq/job.py", line 1278, in perform
    self._result = self._execute()
                   ^^^^^^^^^^^^^^^
  File "/home/frappe/frappe-bench/env/lib/python3.11/site-packages/rq/job.py", line 1315, in _execute
    result = self.func(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 218, in execute_job
    for before_job_task in frappe.get_hooks("before_job"):
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1607, in get_hooks
    hooks = _dict(_load_app_hooks())
                  ^^^^^^^^^^^^^^^^^
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/caching.py", line 59, in wrapper
    return_val = func(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1576, in _load_app_hooks
    app_hooks = get_module(f"{app}.hooks")
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1442, in get_module
    return importlib.import_module(modulename)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'hrms'

After restart services