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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
4
juil. 19
|
10367 | ||
|
0
déc. 18
|
3516 | ||
|
1
mars 22
|
13607 | ||
|
1
juin 21
|
6740 | ||
|
2
déc. 19
|
3180 |