コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
2411 ビュー

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
3128
3
12月 24
4013
2
2月 24
1976
2
1月 24
9724
4
10月 23
18397