Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1609 Tampilan

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

Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
9
Sep 20
44860
1
Okt 18
4053
0
Okt 15
3549
2
Agu 25
2042
2
Nov 24
2707