Odoo Help

0

How to display form or tree view with some fields when click is made on button?

By
yogesh
on 3/12/15, 8:55 AM 986 views

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.

1

Vasanth

--Vasanth--
3478
| 5 3 8
Pondicherry, India
--Vasanth--
Vasanth
On 3/12/15, 9:34 AM

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

0
yogesh
On 3/12/15, 9:44 AM

@vasanth

Thanks..

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

give your model name in that place. it will work

Vasanth
on 3/12/15, 9:49 AM

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

yogesh
on 3/13/15, 1:10 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 3/12/15, 8:55 AM
Seen: 986 times
Last updated: 3/16/15, 8:10 AM