[FIX] sale*: remove wrong o_quotation_view_button classes

This commit is contained in:
Denis Vermylen
2017-01-04 16:01:09 +01:00
parent a95b4a5398
commit 79d73bc8a6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -64,7 +64,7 @@
<xpath expr="//t[@name='second_options']" position="after">
<div class="row" t-if="record.quotations_to_invoice_count.raw_value">
<div class="col-xs-8">
<a name="%(action_quotations_salesteams)d" type="action" class="o_quotation_view_button" context="{'search_default_draft': True, 'search_default_sent': True}">
<a name="%(action_quotations_salesteams)d" type="action" context="{'search_default_draft': True, 'search_default_sent': True}">
<field name="quotations_to_invoice_count"/>
<t t-if="record.quotations_to_invoice_count.raw_value == 1">Quotation</t>
<t t-else="">Quotations</t>
@@ -27,7 +27,7 @@
<div class="row" t-if="record.pending_payment_transactions_count.raw_value">
<div class="col-xs-8">
<div>
<a name="%(payment_transaction_action_pending)d" type="action" class="o_quotation_view_button">
<a name="%(payment_transaction_action_pending)d" type="action">
<field name="pending_payment_transactions_count"/> Awaiting Payment<t t-if="record.pending_payment_transactions_count.raw_value != 1">s</t>
</a>
</div>