<?xml version="1.0" encoding="UTF-8"?>

<templates xml:space="preserve">

    <t t-name="sale.SaleProgressBarField">
        <t t-if="state.isInvoicingTargetDefined">
            <t t-call="web.ProgressBarField"/>
        </t>
        <t t-else="">
            <!-- TODO is this class needed here ? -->
            <a t-on-click.prevent="defineInvoicingTarget" href="#" class="sale_progressbar_form_link">
                Click to define an invoicing target
            </a>
        </t>
    </t>

</templates>
