Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
2374 Ansichten

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
Verwerfen

do you make update on this page controller ?

Beste Antwort

Try Studio

Avatar
Verwerfen
Beste Antwort

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
Verwerfen

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Sept. 24
3079
3
Dez. 24
3987
2
Feb. 24
1959
2
Jan. 24
9637
4
Okt. 23
18351