Bonjour Ă tous,
J’ai un souci avec ce graphique :
Quand j’essai de l’ajouter sur le tableau de bord j’ai cette erreur :
### App Versions
```
{
"dokos_woocommerce": "1.5.5",
"erpnext": "4.39.0",
"frappe": "4.42.0",
"hrms": "2.41.0",
"payments": "2.11.1",
"webshop": "1.22.0"
}
```
### Route
```
Workspaces/Selling
```
### Traceback
```
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 114, in application
response = frappe.api.handle(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/api/__init__.py", line 49, in handle
data = endpoint(**arguments)
^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
return frappe.handler.handle()
^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/handler.py", line 48, in handle
data = execute_cmd(cmd)
^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/handler.py", line 84, in execute_cmd
return frappe.call(method, **frappe.form_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/__init__.py", line 1738, in call
return fn(*args, **newargs)
^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/typing_validations.py", line 30, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/dashboard.py", line 27, in wrapper
results = generate_and_cache_results(kwargs, function, cache_key, chart)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/dashboard.py", line 42, in generate_and_cache_results
results = function(
^^^^^^^^^
File "apps/frappe/frappe/desk/doctype/dashboard_chart/dashboard_chart.py", line 135, in get
filters.append([chart.document_type, "docstatus", "<", 2, False])
TypeError: 'NoneType' object is not callable
```
### Request Data
```
{
"type": "POST",
"args": {
"chart_name": "Outgoing Bills (Sales Invoice)",
"filters": "{\"filter_based_on\":\"Fiscal Year\",\"period_start_date\":\"2023-01-01\",\"period_end_date\":\"2023-12-31\",\"periodicity\":\"Monthly\",\"accumulated_values\":1,\"company\":\"SCOP Les Amanins\",\"from_fiscal_year\":\"2025\",\"to_fiscal_year\":\"2025\"}",
"refresh": 1,
"time_interval": null,
"timespan": null,
"from_date": null,
"to_date": null,
"heatmap_year": null
},
"headers": {},
"error_handlers": {},
"url": "/api/method/frappe.desk.doctype.dashboard_chart.dashboard_chart.get",
"request_id": null
}
```
### Response Data
```
{
"exception": "TypeError: 'NoneType' object is not callable",
"exc_type": "TypeError"
}
```
Merci d’avance pour votre aide