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.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
4
7月 19
|
10286 | ||
|
0
12月 18
|
3434 | ||
|
1
3月 22
|
13484 | ||
|
1
6月 21
|
6670 | ||
|
2
12月 19
|
3082 |