Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
1886 Weergaven

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!

Avatar
Annuleer
Auteur Beste antwoord

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!


Avatar
Annuleer
Beste antwoord

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,

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
feb. 24
3646
0
dec. 23
1973
0
mrt. 15
3959
0
nov. 21
2456
2
aug. 24
14850