Hi,
I need to display dynamic values in Selection:
But it seems like the values dont get evaluated in time.
Thank you
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I need to display dynamic values in Selection:
But it seems like the values dont get evaluated in time.
Thank you
Hi Andreas,
task_contact= fields.Selection(
selection=lambda self: self._get_task_contact_options(),
string='Task Contact',
track_visibility='onchange',
store=True
)
Hope this help!
Hey Jason, it says function is not iterable... How would I loop through the options in the xml?
Hi Andreas, you should get self._fields['task_contact'].selection first then pass to qweb
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ść | |
---|---|---|---|---|
|
2
cze 25
|
1228 | ||
|
0
maj 25
|
12 | ||
Odoo wrong company logo in email
Rozwiązane
|
|
2
sty 25
|
2777 | |
|
1
gru 24
|
6451 | ||
|
1
lis 24
|
2899 |