psycopg2.ProgrammingError: column ailsaodoo_session.color does not exist
LINE 2: ...ailsaodoo_session".id) AS "course_id_count" , sum("ailsaodoo...
^
actually I have define the color in .py file and use it in xml file
.py:
color = fields.Integer()
.xml
<kanban default_group_by="course_id">
<field name="color"/>
...
</kanban>
However, I fixed the problem by manually adding the column to database. I still want to know how to solve this by coding.
Make sure that in the code, you have added the field color in the same model and also check whether the file is called in init.