Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
7315 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

@vasanth

Thanks..

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

Awatar
Odrzuć

give your model name in that place. it will work

Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
1
maj 24
1800
1
wrz 23
4688
2
lip 22
2840
1
lut 17
5518
1
mar 15
16000