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

Hi,


How would I inherit the following view with odoo 13:

Portal Layout
portal.portal_layout

QWeb


and customize the xml being displayed?


I was able to change the view from the front end view changer but need those changes committed in my module 

I know how to inherit form list and calander views but I havent worked with ir.ui.view QWEB views please assist.

Kind regards



อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi duard,

You can modify portal_layout like this -

<template id="custom_template_id" inherit_id="your_module_name.template_id">

<xpath expr="//div[hasclass('o_portal_my_details')]" position="inside">

</xpath>

</template>

Thanku..

For more information Contact us:- https: //kanakinfosystems.com/odoo-development-services

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ค. 20
4687
0
ก.ค. 16
2965
2
ก.ค. 25
1387
1
ก.ค. 25
1744
1
พ.ค. 25
1761