erp5_officejs_support_request_ui: Dynamically add keys to `count_by_state` dict.
The keys in the `count_by_state` dict in SupportRequest_getSupportRequestStatisticsAsJson.py was hardcoded in previous version. This commit can add the keys to the dict dynamically according to the states of Support Request. Thus the code can still work if there has new state added to Support Request.
Showing
Please register or sign in to comment