Total-du-client
Modification des boutons en haut de la fiche client
en mode développeur.
1. édition de la vue "partner.view.buttons" 2. dupliquer le bouton : <button type="object" class="oe_stat_button" id="invoice_button" icon="fa-pencil-square-o" name="open_partner_history" attrs="{'invisible': [('customer', '=', False)]}" context="{'default_partner_id': active_id}"> <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> Pour afficher le champ de base de donnée (trouvé via la configuration de la base)
<button type="object" class="oe_stat_button" id="invoice_button" icon="fa-pencil-square-o" name="open_partner_history" attrs="{'invisible': [('customer', '=', False)]}" context="{'default_partner_id': active_id}">
<field name="issued_total" widget="monetary" options="{'currency_field': 'currency_id'}"/> Issued_total
</button>
3. gestion de la traduction ...