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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
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
@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
i tried but i am getting error AttributeError: 'modelname' object has no attribute 'button_function' how to solve this?
Create an account today to enjoy exclusive features and engage with our awesome community!
Registracija| Related Posts | Replies | Rodiniai | Veikla | |
|---|---|---|---|---|
|
|
1
geg. 24
|
2465 | ||
|
|
1
rugs. 23
|
5220 | ||
|
Non-dict expression
Solved
|
|
2
liep. 22
|
3463 | |
|
|
1
vas. 17
|
6131 | ||
|
|
1
kov. 15
|
16636 |