Skip to Content
Menú
This question has been flagged

currently I am working to get some color into the timesheet_grid view. But I think it's somehow impossible. I tried to make an custom-addon of the timesheet_grid, so I can inherit the grid_view and after that I change the color of the task_id field with css. I really dont want to make a new custom widget, neither to overwrite the render.js to make it colorful, because I dont have any experience with js at all (and will take time to get into it). So, to get back on my issue: when adding my css to the field as you can see in my code, I always get an error. This error even occures when trying to change the xml in odoo per UI (per source code). I appreciate any help !

Edit: As far as I know it says the view isnt inherited correctly, but this error also appears when editing the view in the source code.

Link to my code and error : https://stackoverflow.com/questions/67785911/error-when-using-css-class-for-grid-view-in-odoo


Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de juny 24
2480
3
d’abr. 24
5485
0
de juny 25
2809
0
de jul. 22
896
0
d’ag. 21
2993