콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6152 화면

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

아바타
취소
관련 게시물 답글 화면 활동
0
5월 20
4782
0
7월 16
3030
2
7월 25
1558
1
7월 25
1970
1
5월 25
2077