Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1624 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
How many widget we can use in odoo v8? แก้ไขแล้ว
9
ก.ย. 20
44876
1
ต.ค. 18
4061
0
ต.ค. 15
3553
2
ส.ค. 25
2071
Remove link from offer and invoice email แก้ไขแล้ว
2
พ.ย. 24
2727