Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
7247 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur Meilleure réponse

@vasanth

Thanks..

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

Avatar
Ignorer

give your model name in that place. it will work

Auteur

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

Publications associées Réponses Vues Activité
1
mai 24
1727
1
sept. 23
4614
2
juil. 22
2747
1
févr. 17
5465
1
mars 15
15928