Total-du-client
De Admin -- TALEVAS.
(Différences entre les versions)
(→Modification des boutons en haut de la fiche client) |
(→Modification des boutons en haut de la fiche client) |
||
| Ligne 6 : | Ligne 6 : | ||
2. Y laisser : | 2. Y laisser : | ||
<data> | <data> | ||
| − | & | + | <div name="button_box" position="inside"> |
<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}"> | <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="issued_total" widget="monetary" options="{'currency_field': 'currency_id'}"/></span> |
| − | & | + | <span class="o_stat_text">Total dù</span> |
</div> | </div> | ||
</button> | </button> | ||
Version du 8 novembre 2018 à 14:15
Modification des boutons en haut de la fiche client
en mode développeur.
1. dupliquer la vue "partner.view.buttons"
2. Y laisser :
<data>
<div name="button_box" position="inside">
<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="issued_total" widget="monetary" options="{'currency_field': 'currency_id'}"/></span>
<span class="o_stat_text">Total dù</span>
</div>
</button>
</div>
</data>
3. gestion de la traduction ...