Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
2363 Zobrazení

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
Zrušit

do you make update on this page controller ?

Nejlepší odpověď

Try Studio

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
1
zář 24
3079
3
pro 24
3985
2
úno 24
1956
2
led 24
9616
4
říj 23
18347