Try this :-
<button class="oe_stat_button" type="object" name="open_tracebility" icon="fa-arrows-v" string="Tracebility" widget="statinfo"/>
res = self.env['ir.actions.act_window'].for_xml_id('custom_module_name', 'wizard_action')
Hope it works for you.
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
|Asked: 3/18/16, 6:20 AM|
|Seen: 443 times|
|Last updated: 3/25/16, 5:17 AM|