Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
2365 มุมมอง

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
3079
3
ธ.ค. 24
3985
How to edit field in the page ".../my" แก้ไขแล้ว
2
ก.พ. 24
1956
2
ม.ค. 24
9616
4
ต.ค. 23
18347