跳至內容
選單
此問題已被標幟
1 回覆
1667 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
9
9月 20
44925
1
10月 18
4130
0
10月 15
3617
2
8月 25
2159
2
11月 24
2851