Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2876 Zobrazení

  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šit
Nejlepší odpověď

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šit
Related Posts Odpovědi Zobrazení Aktivita
4
čvc 19
10239
0
pro 18
3420
1
bře 22
13410
1
čvn 21
6644
2
pro 19
3057