Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
7322 Prikazi

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.

Avatar
Opusti
Best Answer

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

Avatar
Opusti
Avtor Best Answer

@vasanth

Thanks..

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

Avatar
Opusti

give your model name in that place. it will work

Avtor

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

Related Posts Odgovori Prikazi Aktivnost
1
maj 24
1802
1
sep. 23
4702
2
jul. 22
2846
1
feb. 17
5520
1
mar. 15
16004