Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
2373 Visualizzazioni

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
Abbandona

do you make update on this page controller ?

Risposta migliore

Try Studio

Avatar
Abbandona
Risposta migliore

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
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
1
set 24
3079
3
dic 24
3986
2
feb 24
1958
2
gen 24
9634
4
ott 23
18351