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

I want to display a form that have some fields.

Initially I have a button in a custom module.When click is made on that button,it should display a tree view or a form view that may have some fields.

Please help me how to do this.

Thanks in advance.

아바타
취소
베스트 답변

hi yogesh,

please refer this link.it will helps you

https://www.odoo.com/forum/help-1/question/create-a-new-form-by-clicking-custom-button-81542#answer-81554

아바타
취소
작성자 베스트 답변

@vasanth

Thanks..

In that link they are using different model ,but i want to display the tree view in the same model.

아바타
취소

give your model name in that place. it will work

작성자

i tried but i am getting error AttributeError: 'modelname' object has no attribute 'button_function' how to solve this?

관련 게시물 답글 화면 활동
1
5월 24
1806
1
9월 23
4705
Non-dict expression 해결 완료
2
7월 22
2850
1
2월 17
5521
1
3월 15
16007