Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2874 Widoki

  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?


Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
lip 19
10238
0
gru 18
3418
1
mar 22
13409
1
cze 21
6639
2
gru 19
3049