Skip to Content
Menu
This question has been flagged
3 Replies
2369 Rodiniai

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

Portretas
Atmesti

do you make update on this page controller ?

Best Answer

Try Studio

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti

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

Related Posts Replies Rodiniai Veikla
1
rugs. 24
3079
3
gruod. 24
3986
2
vas. 24
1957
2
saus. 24
9621
4
spal. 23
18349