Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
2388 Widoki

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

Awatar
Odrzuć

do you make update on this page controller ?

Najlepsza odpowiedź

Try Studio

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
1
wrz 24
3083
3
gru 24
3993
2
lut 24
1961
2
sty 24
9651
4
paź 23
18353