[IMP] partner_profiles_portal: hide My structures
button for company users
This commit is contained in:
committed by
Stéphan Sainléger
parent
bba6775f07
commit
0c81c36d30
@@ -9,17 +9,21 @@
|
||||
<div class="mb8" t-field="user_id.partner_id"
|
||||
t-options="{"widget": "contact", "fields": ["email", "phone", "address", "name"]}" />
|
||||
<div name="profiles_management">
|
||||
<a t-attf-href="/my/account">
|
||||
<button class="btn btn-primary mb8">
|
||||
My information
|
||||
</button>
|
||||
</a>
|
||||
<br />
|
||||
<a t-attf-href="/my/structures">
|
||||
<button class="btn btn-primary mb8">
|
||||
My structures
|
||||
</button>
|
||||
</a>
|
||||
<div id="account">
|
||||
<a t-attf-href="/my/account">
|
||||
<button class="btn btn-primary mb8">
|
||||
My information
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
id="structures" t-if="not user_id.partner_id.is_company">
|
||||
<a t-attf-href="/my/structures">
|
||||
<button class="btn btn-primary mb8">
|
||||
My structures
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
|
Reference in New Issue
Block a user