跳至内容
菜单
此问题已终结
1 回复
2884 查看

  I want to show all week of year in one2many field odoo to compute some indicator per week, (like the image below).


  I can't declare 52 fields! and compute each one! so i need to declare the week field as array.

  how can i do that?


形象
丢弃
最佳答案

Okay reverse your logic, Make your weeks as data, not column names. columns are static here and adding through JS would not be a good method. So I recommend swapping your axis and add weeks as data according to the year.

形象
丢弃
相关帖文 回复 查看 活动
4
7月 19
10286
0
12月 18
3434
1
3月 22
13484
1
6月 21
6670
2
12月 19
3082