mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract_show_invoice: ADD total invoiced in show invoices button (#181)
This commit is contained in:
committed by
Pedro M. Baeza
parent
f944b485c7
commit
8a5de59ada
@@ -32,8 +32,15 @@
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr='//div[@name="button_box"]' position='inside'>
|
||||
<button class="oe_stat_button" type="action" icon="fa-edit"
|
||||
name="%(contract_show_invoice.act_analytic_invoices)d"
|
||||
string="Invoices" help="Invoices related with this contract">
|
||||
name="%(contract_show_invoice.act_analytic_invoices)d"
|
||||
help="Invoices related with this contract">
|
||||
<div class="o_form_field o_stat_info">
|
||||
<span class="o_stat_value">
|
||||
<field name="total_invoiced" widget="monetary"
|
||||
options="{'currency_field': 'currency_id'}"/>
|
||||
</span>
|
||||
<span class="o_stat_text">Invoiced</span>
|
||||
</div>
|
||||
</button>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user