İçereği Atla
Menü
This question has been flagged
1 Cevapla
814 Görünümler

I would like to change the 'Total' label to 'Gross'. Can anyone help or does anyone know how to do this?

Avatar
Vazgeç
Best Answer

Hi,


To change the label from "Total" to "Gross" you can create a new template that extends the original one.

Use the following code to change the label:

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<template id="custom_tax_totals_field" inherit_id="account.TaxTotalsField">
<xpath expr="//label[@class='o_form_label o_tax_total_label'][last()]" position="replace">
<label class="o_form_label o_tax_total_label">Gross</label>
        </xpath>
    </template>
</odoo>

Regards

Avatar
Vazgeç
Related Posts Cevaplar Görünümler Aktivite
9
Eyl 20
44065
1
Eki 18
3226
0
Eki 15
2866
1
Oca 25
799
2
Kas 24
1415