erpnext_expenses icon indicating copy to clipboard operation
erpnext_expenses copied to clipboard

[BUG]: INSTALLING EXPENSES

Open iakah opened this issue 1 year ago • 21 comments

Describe the bug ImportError: Module import failed for Expenses Entry, the DocType you're trying to open might be deleted. Error: cannot import name 'ACCOUNT' from 'expenses.libs' (apps/expenses/expenses/libs/init.py)

To Reproduce Steps to reproduce the behavior:

  1. cd ~/frappe-bench
  2. bench get-app https://github.com/kid1194/erpnext_expenses
  3. bench --site [sitename] install-app expenses

Expected behavior A clear and concise description of what you expected to happen.

Installing expenses... Updating DocTypes for expenses : [== ] 6%An error occurred while installing expenses: Module import failed for Expenses Entry, the DocType you're trying to open might be deleted.
Error: cannot import name 'ACCOUNT' from 'expenses.libs' (/home/iak/frappe-bench/apps/expenses/expenses/libs/init.py) Traceback with variables (most recent call last): File "apps/frappe/frappe/commands/site.py", line 462, in install_app _install_app(app, verbose=context.verbose, force=force) context = {'sites': ['bollexmedia.com'], 'force': False, 'verbose': False, 'profile': False} apps = ('expenses',) force = True _install_app = <function install_app at 0x7f95cc7a4ae0> filelock = <function filelock at 0x7f95cc79eca0> exit_code = 0

Additional context Frappe and ERPNEXT Version 15 Add any other context about the problem here.

iakah avatar Jan 15 '24 09:01 iakah