Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
2391 Vizualizări

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

Imagine profil
Abandonează

do you make update on this page controller ?

Cel mai bun răspuns

Try Studio

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează

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

Related Posts Răspunsuri Vizualizări Activitate
1
sept. 24
3087
3
dec. 24
3993
2
feb. 24
1962
2
ian. 24
9656
4
oct. 23
18356