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
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
0
Ara 16
|
3057 | ||
|
5
Mar 16
|
10168 | ||
|
1
Mar 15
|
4188 | ||
|
0
Tem 16
|
5128 | ||
|
1
Haz 16
|
3033 |