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
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
0
Dez. 16
|
3662 | |||
|
5
März 16
|
11222 | |||
|
1
März 15
|
4862 | |||
|
0
Juli 16
|
5782 | |||
|
1
Juni 16
|
3761 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.