Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 60, in application
- response = frappe.api.handle()
- File "/home/frappe/frappe-bench/apps/frappe/frappe/api.py", line 54, in handle
- return frappe.handler.handle()
- File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
- execute_cmd(cmd)
- File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
- ret = frappe.call(method, **frappe.form_dict)
- File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 890, in call
- return fn(*args, **newargs)
- File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/query_report.py", line 93, in run
- res = frappe.get_attr(method_name)(frappe._dict(filters))
- File "/home/frappe/frappe-bench/apps/erpnext/erpnext/accounts/report/profit_and_loss_statement/profit_and_loss_statement.py", line 11, in execute
- period_list = get_period_list(filters.from_fiscal_year, filters.to_fiscal_year, filters.periodicity)
- File "/home/frappe/frappe-bench/apps/erpnext/erpnext/accounts/report/financial_statements.py", line 16, in get_period_list
- validate_fiscal_year(fiscal_year, from_fiscal_year, to_fiscal_year)
- File "/home/frappe/frappe-bench/apps/erpnext/erpnext/accounts/report/financial_statements.py", line 90, in validate_fiscal_year
- #frappe.throw(_("End Year cannot be before Start Year"))
- File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 300, in throw
- msgprint(msg, raise_exception=exc, title=title, indicator='red')
- File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 293, in msgprint
- _raise_exception()
- File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 266, in _raise_exception
- raise raise_exception, encode(msg)
- ValidationError: End Year cannot be before Start Year
Add Comment
Please, Sign In to add comment