Hi guys!!!
Please who can help
I have a field many2one but when i want to print it see what exists in this field i find "None"
Who can help me please
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi guys!!!
Please who can help
I have a field many2one but when i want to print it see what exists in this field i find "None"
Who can help me please
In general many2one field contains foreign key ( id in other part of relation)
if it contains none, that meany it has no entry a.k.a it is empty...
in general, if you try to print it it wil either show the other object id, or it will contain browse_object(name_of_other_object,id)
hope it helps...
'project_id': fields.many2one( 'test_project','project_ids', 'Project Name'),
'project_ids' : fields.one2many('callim.project.service.line','project_id','Credits'),
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 | |
---|---|---|---|---|
|
2
thg 8 25
|
2859 | ||
|
1
thg 7 25
|
1165 | ||
|
1
thg 8 25
|
1152 | ||
|
0
thg 5 25
|
1621 | ||
|
2
thg 4 25
|
3798 |
pls supply more information so one can check and give a resolution, you can post the error message you face, the code you wrote, the definition of the field with problem, and the like