You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
570 B
11 lines
570 B
<?xml version="1.0"?>
|
|
<odoo>
|
|
<template id="o_portal_my_details" inherit_id="portal.portal_layout">
|
|
<xpath expr="//div[hasclass('o_portal_my_details')]//h4/a[@href='/my/account']" position="attributes">
|
|
<attribute name="t-if">not block_portal_data_edit</attribute>
|
|
</xpath>
|
|
<xpath expr="//div[hasclass('o_portal_my_details')]//h4/a[@href='/my/account']" position="after">
|
|
<a t-else="" role="button" href="/my/account" class="btn btn-sm btn-link"><i class="fa fa-eye"/> View</a>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|