콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
812 화면

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
44065
1
10월 18
3226
0
10월 15
2866
1
1월 25
799
2
11월 24
1415