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?
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
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
5
gru 23
|
21508 | |||
|
7
gru 25
|
10246 | |||
|
1
sty 22
|
3547 | |||
|
how i can update list in Directory odoo 12
Rozwiązane
|
2
sie 19
|
6061 | ||
|
3
sty 19
|
2782 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.