You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
968 B

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<!-- Inherit ActionpadWidget to Modify it -->
<t t-name="ActionpadWidget" t-inherit="point_of_sale.ActionpadWidget"
t-inherit-mode="extension" owl="1">
<xpath expr="//div[hasclass('actionpad')]" position="replace">
<button class="button set-partner"
t-att-class="{'decentered': isLongName}"
t-on-click="() => this.trigger('click-partner')"
style="top: 0px;width:50%; height: 100%;background: white;flex-grow: 1;">
<t t-if="!env.isMobile"><i class="fa fa-user" role="img" aria-label="Customer" title="Customer" /></t>
<t t-if="props.partner">
<t t-esc="props.partner.name"/>
</t>
<t t-else="">
Customer
</t>
</button>
</xpath>
</t>
</templates>