Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
2408 Представления

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

Аватар
Отменить

do you make update on this page controller ?

Лучший ответ

Try Studio

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить

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

Related Posts Ответы Просмотры Активность
1
сент. 24
3128
3
дек. 24
4013
2
февр. 24
1975
2
янв. 24
9721
4
окт. 23
18394