Browse Source

[IMP] fix minor changes in manyfest and view

14.0
Fábio Oliveira 4 years ago
committed by Jacob Oldfield
parent
commit
78bda461ff
  1. 5
      partner_contact_in_several_companies/__manifest__.py
  2. 4
      partner_contact_in_several_companies/views/res_partner.xml

5
partner_contact_in_several_companies/__manifest__.py

@ -1,11 +1,12 @@
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{ {
"name": "Contacts in several partners", "name": "Contacts in several partners",
"summary": "Allow to have one contact in several partners", "summary": "Allow to have one contact in several partners",
"version": "13.0.1.0.0", "version": "13.0.1.0.0",
"category": "Customer Relationship Management", "category": "Customer Relationship Management",
"website": "https://github.com/OCA/partner-contact", "website": "https://github.com/OCA/partner-contact",
"author": "Fabio Oliveira, Odoo Community Association (OCA),Odoo SA",
"author": "Nicolas JEUDY, Odoo Community Association (OCA),Odoo SA",
"license": "AGPL-3", "license": "AGPL-3",
"depends": [ "depends": [
"base", "base",

4
partner_contact_in_several_companies/views/res_partner.xml

@ -80,8 +80,8 @@
<div class="o_kanban_image"> <div class="o_kanban_image">
<img t-if="record.image_128.raw_value" t-att-src="'data:image/png;base64,' + record.image_128.raw_value"/> <img t-if="record.image_128.raw_value" t-att-src="'data:image/png;base64,' + record.image_128.raw_value"/>
<t t-if="!record.image_128.raw_value"> <t t-if="!record.image_128.raw_value">
<img alt="Logo" t-if="record.is_company.raw_value === true" t-att-src='_s + "/base/static/src/img/company_image.png"'/>
<img alt="Avatar" t-if="record.is_company.raw_value === false" t-att-src='_s + "/base/static/src/img/avatar_grey.png"'/>
<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>
<div class="oe_kanban_details"> <div class="oe_kanban_details">

Loading…
Cancel
Save