diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-07-07 14:18:07 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-07-07 14:18:07 +0200 |
| commit | 0f2b2c4e2b99df8d68456016a4bea86e26c1c80e (patch) | |
| tree | 37ecc505ddb81ec1cd048dba9655e03e3176c546 /addons/account/views/partner_view.xml | |
| parent | 5241d479b222bc11ebd1c0ff41c38872a3fea8fd (diff) | |
| parent | 514a1a76d81de3943f752ceaa5e487a2d25b9bb7 (diff) | |
[MERGE] forward port branch saas-15 up to 514a1a76d81
Diffstat (limited to 'addons/account/views/partner_view.xml')
| -rw-r--r-- | addons/account/views/partner_view.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/account/views/partner_view.xml b/addons/account/views/partner_view.xml index 84607ad971d..2f028d6f1c2 100644 --- a/addons/account/views/partner_view.xml +++ b/addons/account/views/partner_view.xml @@ -95,6 +95,17 @@ <field name="priority" eval="20"/> <field name="groups_id" eval="[(4, ref('account.group_account_invoice'))]"/> <field name="arch" type="xml"> + <div name="button_box" position="inside"> + <button type="object" class="oe_stat_button" icon="fa-pencil-square-o" name="action_view_partner_invoices" + attrs="{'invisible': [('customer', '=', False)]}"> + <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> + </div> <group name="container_row_2" position="inside"> <group string="Payments" name="banks"> <field name="currency_id" invisible="1"/> |
