İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
7235 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici En İyi Yanıt

@vasanth

Thanks..

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

Avatar
Vazgeç

give your model name in that place. it will work

Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
May 24
1716
1
Eyl 23
4592
2
Tem 22
2735
1
Şub 17
5451
1
Mar 15
15916