Skip to Content
Menu
This question has been flagged
1 Odpoveď
2902 Zobrazenia

  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?


Avatar
Zrušiť
Best Answer

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.

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
4
júl 19
10309
0
dec 18
3448
1
mar 22
13525
1
jún 21
6687
2
dec 19
3118