How can i display data that get in python function in my view? I dont want save it in database. Example i have a list with [{name:'aa','size':'0'},{name:'ab',size:'1'}] how can i display this values in the form of tree view in xml? Any one please help !!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hi,
You can create function field & display data in form or tree view. It won't be there in database.
Refer Function field for more information.
Thanks,
www.acespritech.com
@Acespritech Thanks for your reply. How can i update values in function field during button click?
How can i update function field on button click. I want to display names of files in a directory on button click. i will get file names in a list . how can i show that in xml using function field ? Any one please help
You can write logic on button click method & write that data to function field.
@Acespritech i added a new question which contains my code.can you please check that and explain to me .how to write that data to function field on button click http://help.openerp.com/question/32498/how-to-update-function-field-on-button-click/?answer=32499#post-id-32499
I successfully completed the requirement using open erp web frame work http://planet.agilebg.com/docs/openerp-web/en/addons.html#extracting-strings
Thanks for sharing.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
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 | |
---|---|---|---|---|
|
5
thg 12 23
|
18681 | ||
|
7
thg 3 20
|
7578 | ||
|
1
thg 3 17
|
5349 | ||
|
0
thg 3 15
|
3035 | ||
|
1
thg 10 24
|
1454 |