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
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
0
thg 12 16
|
3663 | |||
|
5
thg 3 16
|
11225 | |||
|
1
thg 3 15
|
4866 | |||
|
0
thg 7 16
|
5784 | |||
|
1
thg 6 16
|
3763 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.