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

Greetings


I need to remove these two fields from the page '.../my/account': 

'Company Name' & 'VAT ​Number' 

How do I do this? Nothing appears in the 'customize' tab...


I'm using Odoo 17 Standard

Thank you very much

Avatar
Annuleer

do you make update on this page controller ?

Beste antwoord

Try Studio

Avatar
Annuleer
Beste antwoord

Hi,

You can try this template in your custom module.

<template id="portal_template_inherited_1"  inherit_id="portal.portal_my_details_fields">
<xpath expr="//input[@name='company_name']" position="replace"/>
<xpath expr="//label[@for='company_name']" position="replace"/>
    <xpath expr="//label[@for='vat']" position="replace"/>
    <xpath expr="//input[@name='vat']" position="replace"/>
</template>


Hope it helps

Avatar
Annuleer

I want to update the controller of this page how can I do ? ​

Gerelateerde posts Antwoorden Weergaven Activiteit
1
sep. 24
3111
3
dec. 24
4005
2
feb. 24
1972
2
jan. 24
9679
4
okt. 23
18364