Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
7268 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore Risposta migliore

@vasanth

Thanks..

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

Avatar
Abbandona

give your model name in that place. it will work

Autore

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

Post correlati Risposte Visualizzazioni Attività
1
mag 24
1751
1
set 23
4642
2
lug 22
2780
1
feb 17
5486
1
mar 15
15955