<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
    <t t-name="project.ProjectTaskFormView.Buttons" t-inherit="web.FormView.Buttons" t-inherit-mode="primary">
        <button class="btn btn-outline-primary o_form_button_create" position="replace">
            <ProjectTaskTemplateDropdown t-if="canCreate"
                projectId="props.context.default_project_id"
                onCreate="() =&gt; this.create()"
                newButtonClasses="'btn btn-outline-primary o_form_button_create'"
                context="props.context"
            />
        </button>
    </t>
</templates>
