<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
    <t t-name="project.ProjectTaskListView.Buttons" t-inherit="web.ListView.Buttons" t-inherit-mode="primary">
        <button class="btn btn-primary o_list_button_add" position="replace">
            <ProjectTaskTemplateDropdown t-if="!env.inDialog and !editedRecord and activeActions.create"
                projectId="props.context.default_project_id"
                onCreate="() =&gt; this.onClickCreate()"
                newButtonClasses="'btn btn-primary o_list_button_add'"
                context="props.context"
            />
        </button>
    </t>
</templates>
