Odoo Help

Welcome!

This community 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.

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 774 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--
3458
| 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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