12.0 improve profiles management #4

Merged
stephansainleger merged 28 commits from 12.0-improve_profiles_management into 12.0 2023-06-27 15:31:24 +00:00
2 changed files with 16 additions and 12 deletions
Showing only changes of commit d8077861ac - Show all commits

View File

@@ -3,7 +3,7 @@
{ {
"name": "partner_profiles_portal", "name": "partner_profiles_portal",
"version": "12.0.2.2.0", "version": "12.0.2.2.1",
"author": "Elabore", "author": "Elabore",
"website": "https://elabore.coop", "website": "https://elabore.coop",
"maintainer": "Stéphan Sainléger", "maintainer": "Stéphan Sainléger",

View File

@@ -9,12 +9,15 @@
<div class="mb8" t-field="user_id.partner_id" <div class="mb8" t-field="user_id.partner_id"
t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;email&quot;, &quot;phone&quot;, &quot;address&quot;, &quot;name&quot;]}" /> t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;email&quot;, &quot;phone&quot;, &quot;address&quot;, &quot;name&quot;]}" />
<div name="profiles_management"> <div name="profiles_management">
<div id="account">
<a t-attf-href="/my/account"> <a t-attf-href="/my/account">
<button class="btn btn-primary mb8"> <button class="btn btn-primary mb8">
My information My information
</button> </button>
</a> </a>
<br /> </div>
<div
id="structures" t-if="not user_id.partner_id.is_company">
<a t-attf-href="/my/structures"> <a t-attf-href="/my/structures">
<button class="btn btn-primary mb8"> <button class="btn btn-primary mb8">
My structures My structures
@@ -22,6 +25,7 @@
</a> </a>
</div> </div>
</div> </div>
</div>
</xpath> </xpath>
</template> </template>
</odoo> </odoo>