Hi, This may be a obvious question but I can't find any example within the current modules for the functionality I want implement:
In the projectmanagement module, I would like to open the project details on a double click on a project in the tree structure. By default, a list of associated tasks is shown. I've been able to show the project detail view on a double click but an empty edit form is shown. Apparently, the context (of the selected project in the tree) is not passed to the detail view. My view xml like something like this: <record model="ir.actions.act_window" id="dblc_proj"> <field name="res_model">project.project</field> <field name="name">Project</field> <field name="view_type">form</field> <field name="view_mode">form</field> <field name="domain">[('id', '=', [active_id])]</field> </record> <record model="ir.values" id="ir_project_open"> <field name="key2" eval=" 'tree_but_open'" /> <field name="model" eval="'project.project'" /> <field name="name">View project</field> <field name="value" eval="'ir.actions.act_window,'+str(dblc_proj)" /> <field name="object" eval="True" /> </record> Any ideas? Thx Frederik _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
