we know we can save a string or a float number into fields.Char()/fields.Float();
but what if we want to save a list of strings or float numbers?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
we know we can save a string or a float number into fields.Char()/fields.Float();
but what if we want to save a list of strings or float numbers?
I don't think you can do this directly but there are many different ideas can help:
1- The first idea link your object with one2many object , and in the new object use fields.Char() / fields.Float() do define your field
2- The second idea is to define text field , and in this field insert you list of strings or float , and if you want to use this list in python use method "exec(mycode)" to convert it to list
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
5
ธ.ค. 23
|
18232 | ||
|
7
มี.ค. 20
|
7174 | ||
|
1
ม.ค. 22
|
1918 | ||
|
2
ส.ค. 19
|
4284 | ||
|
3
ม.ค. 19
|
2782 |