跳至内容
菜单
此问题已终结
3 回复
2385 查看

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 ? ​

相关帖文 回复 查看 活动
1
9月 24
3083
3
12月 24
3992
2
2月 24
1961
2
1月 24
9649
4
10月 23
18353