Open a specific action on “Create” button

If you need to call a specific action on creating a new instance of an object you can do that by adding the attribute “on_create” into the view from which you want to create the new instance.

A good example is the project kanban view definition:

<record model="ir.ui.view" id="view_project_kanban">
<field name="model">project.project</field>
<field name="arch" type="xml">
    <kanban on_create="project.open_create_project"class="oe_background_grey o_kanban_dashboard o_project_kanban" >