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.

1

open wizard from tree view

By
Javier Hernandez
on 3/4/14, 1:23 AM 1,478 views

Hello, I have a custom module with a tree view from a custom object.

I defined only a tree view for this class, and when user clicks on any row, I want to display a wizard window.

The tree displays correctly, but nothing happends when I click on a row.

I have tried:

<record id="action_view_save_recount" model="ir.values">
    <field name="key2">tree_but_act</field>
    <field name="model">productstock.recount</field>
    <field name="name">Save product recount</field>
    <field name="value" eval="'ir.actions.wizard,%d'%productstock_view_recount"/>
    <field name="object" eval="True" />            
</record>

the id for the wizard form is "productstock_view_recount"

But nothing happends when I click on any row of the view. Can anyone help me to achieve this??

Thanks

0
Omar OUHARI
On 1/27/16, 3:14 AM

I have the same issue. Did you find any solution !!

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

0 follower(s)

Stats

Asked: 3/4/14, 1:23 AM
Seen: 1478 times
Last updated: 1/27/16, 3:14 AM