İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
2358 Görünümler

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
Vazgeç

do you make update on this page controller ?

En İyi Yanıt

Try Studio

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Eyl 24
3078
3
Ara 24
3985
2
Şub 24
1955
2
Oca 24
9615
4
Eki 23
18347