Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1875 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
9
wrz 20
45161
1
paź 18
4279
0
paź 15
3808
2
sie 25
2416
2
lis 24
3165