I want to use a return from a function in my field variable. How can I do this?
How can I put the return of the function in my field?
test_field = fields.Char('')
def test(self):
a = 1
if a == a:
return a
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I want to use a return from a function in my field variable. How can I do this?
How can I put the return of the function in my field?
test_field = fields.Char('')
def test(self):
a = 1
if a == a:
return a
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
0
jouluk. 16
|
3656 | |||
|
5
maalisk. 16
|
11216 | |||
|
1
maalisk. 15
|
4856 | |||
|
0
heinäk. 16
|
5777 | |||
|
1
kesäk. 16
|
3752 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.