One of our users is encountering an error when trying to fetch the 'state' field from the 'project.task' model. Below are the details of the API call and the error message received.
const params = [
searchParams,
['name', 'project_id', 'stage_id', 'parent_id', 'active', 'description', 'priority', 'state', 'create_date', 'display_in_project', 'color', 'display_name']
];
odoo.execute_kw('project.task', 'search_read', [params]);
ValueError: Invalid field 'state' on model 'project.task'