Skip to content

Commit

Permalink
[FIX] - partner_affiliate: Avatar affiliate
Browse files Browse the repository at this point in the history
  • Loading branch information
sofien-moalla authored Nov 30, 2023
1 parent 96167e3 commit 8c1dae4
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions partner_affiliate/views/res_partner_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,35 +57,8 @@
<div class="o_kanban_image">
<img
alt="Contact image"
t-if="record.image_128.raw_value"
t-att-src="kanban_image('res.partner', 'image_128', record.id.raw_value)"
/>
<t t-if="!record.image_128.raw_value">
<img
alt="Delivery"
t-if="record.type.raw_value === 'delivery'"
t-att-src='_s + "/base/static/img/truck.png"'
/>
<img
alt="Invoice"
t-if="record.type.raw_value === 'invoice'"
t-att-src='_s + "/base/static/img/money.png"'
/>
<t
t-if="record.type.raw_value !== 'invoice' &amp;&amp; record.type.raw_value !== 'delivery'"
>
<img
alt="Logo"
t-if="record.is_company.raw_value === true"
t-att-src='_s + "/base/static/img/company_image.png"'
/>
<img
alt="Avatar"
t-if="record.is_company.raw_value === false"
t-att-src='_s + "/base/static/img/avatar_grey.png"'
/>
</t>
</t>
</div>
<div class="oe_kanban_details">
<field name="name" />
Expand Down

0 comments on commit 8c1dae4

Please sign in to comment.