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

Greetings


In the page ".../my" the following field appears: "customer and supplier invoices"

I need to remove the word "supplier", how do I do this?


Thank you!

頭像
捨棄
作者 最佳答案

I'm not sure it is the best way to do it, but it worked for me just fine!

Activate Debug Mode

Settings Module > Technical > Views

Search for 'My Portal'

Go to the 'Inherited Views' tab and click on  'Show Invoices & Bills'

Go to the 'Architecture' tab and click on the language button in the upper-right corner.

There you can see a field filled with 'Customer and Supplier Invoices'. Edit it as you wish.

Save it and it's done!


頭像
捨棄
最佳答案

Hi,

Inherit the corresponding view, and add the You just need to change the string attribute of the field in the XML. If custom_invoice is the field you are trying to change, simply write this:

<field name="arch" type="xml">

        <field name="custom_invoice" position="attributes">

                <attribute name="string">Customer Invoice</attribute>

        </field>

</field>


Hope it helps,

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
2月 24
3879
0
12月 23
2117
0
3月 15
4070
0
11月 21
2556
2
8月 24
15014