콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5474 화면

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 !!

아바타
취소
베스트 답변

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

관련 게시물 답글 화면 활동
5
12월 23
18672
7
3월 20
7575
1
3월 17
5345
0
3월 15
3026
1
10월 24
1454