<button type="action" name="%(test_model_wizard_action)d" string="Create New shift" />
<record id="test_model_wizard_action" model="ir.actions.act_window"> <field name="name">Test Model Wizard</field> <field name="type">ir.actions.act_window</field> <field name="res_model">makeitsimple_mrp_timac.wizard</field> <field name="view_mode">form</field> <field name="view_id" ref="test_model_wizard_view_form"/> <!-- Permet de lier au document existant et fournir des données --> <field name="binding_model_id" ref="mrp.model_mrp_production" /> <field name="target">new</field> </record>