It’s often important for us to use Total Stock Summary Report to find out total stock, regardless of the warehouse. This report was helpful in that case. Now in “Group By: Company” mode there are errors in all scenarios. is this a bug or normal behavior? Also does anyone know another way to check total stock?
ERPNext: v11.1.19 (master)
Frappe Framework: v11.1.19 (master)
Screenshots/videos attached:
1 Like
[Error] Viewport argument key “minimal-ui” not recognized and ignored. (desk, line 13)
[Warning] quill – “Overwriting formats/link with” – class MyLink
[Warning] quill – “Overwriting modules/mention with” – class Mention
[Log] localStorage cleared (desk.min.js, line 1)
[Log] Cleared App Cache. (desk.min.js, line 1)
[Log] localStorage cleared (desk.min.js, line 1)
[Error] Failed to load resource: the server responded with a status of 417 (EXPECTATION FAILED)
[Log] Traceback (most recent call last): (desk.min.js, line 1)
File “/opt/bench/erpnext/apps/frappe/frappe/app.py”, line 61, in application
response = frappe.handler.handle()
File “/opt/bench/erpnext/apps/frappe/frappe/handler.py”, line 21, in handle
data = execute_cmd(cmd)
File “/opt/bench/erpnext/apps/frappe/frappe/handler.py”, line 56, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 1030, in call
return fn(*args, **newargs)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 505, in wrapper_fn
retval = fn(*args, **get_newargs(fn, kwargs))
File “/opt/bench/erpnext/apps/frappe/frappe/desk/query_report.py”, line 185, in run
result = generate_report_result(report, filters, user)
File “/opt/bench/erpnext/apps/frappe/frappe/desk/query_report.py”, line 66, in generate_report_result
res = frappe.get_attr(method_name)(frappe.dict(filters))
File “/opt/bench/erpnext/apps/erpnext/erpnext/stock/report/total_stock_summary/total_stock_summary.py”, line 10, in execute
validate_filters(filters)
File “/opt/bench/erpnext/apps/erpnext/erpnext/stock/report/total_stock_summary/total_stock_summary.py”, line 60, in validate_filters
frappe.throw((“Please set Company filter blank if Group By is ‘Company’”))
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 355, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 341, in msgprint
_raise_exception()
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 314, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: Please set Company filter blank if Group By is ‘Company’
[Error] Unhandled Promise Rejection: Filter missing
get_filter_values (report.min.js:1:119625)
refresh (report.min.js:1:112430)
(anonymous function) (desk.min.js:1:162608)
onchange (report.min.js:1:111795)
promiseReactionJob
[Error] Filter missing
get_filter_values (report.min.js:1:119625)
refresh (report.min.js:1:112430)
(anonymous function) (desk.min.js:1:162608)
action (report.min.js:1:108627)
(anonymous function) (desk.min.js:1:81355)
dispatch (jquery.min.js:3:7543)
handle (jquery.min.js:3:5626)
[Error] Unhandled Promise Rejection: Filter missing
get_filter_values (report.min.js:1:119625)
refresh (report.min.js:1:112430)
(anonymous function) (desk.min.js:1:162608)
onchange (report.min.js:1:111795)
promiseReactionJob
[Error] Filter missing
get_filter_values (report.min.js:1:119625)
refresh (report.min.js:1:112430)
(anonymous function) (desk.min.js:1:162608)
action (report.min.js:1:108627)
(anonymous function) (desk.min.js:1:81355)
dispatch (jquery.min.js:3:7543)
handle (jquery.min.js:3:5626)
Many more updates later still same issue