[FIX] base/res/partner: fix kanban view (unknown fields)
bzr revid: rco@openerp.com-20120223154348-sdzk9nozb6mi84lg
This commit is contained in:
parent
a70e1fef3d
commit
3310e9f2fa
|
@ -428,7 +428,12 @@
|
||||||
<kanban>
|
<kanban>
|
||||||
<field name="color"/>
|
<field name="color"/>
|
||||||
<field name="name"/>
|
<field name="name"/>
|
||||||
|
<field name="title"/>
|
||||||
<field name="email"/>
|
<field name="email"/>
|
||||||
|
<field name="parent_id"/>
|
||||||
|
<field name="is_company"/>
|
||||||
|
<field name="function"/>
|
||||||
|
<field name="phone"/>
|
||||||
<templates>
|
<templates>
|
||||||
<t t-name="kanban-box">
|
<t t-name="kanban-box">
|
||||||
<t t-set="color" t-value="kanban_color(record.color.raw_value || record.name.raw_value)"/>
|
<t t-set="color" t-value="kanban_color(record.color.raw_value || record.name.raw_value)"/>
|
||||||
|
@ -439,6 +444,8 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="oe_kanban_title1" align="left" valign="middle">
|
<td class="oe_kanban_title1" align="left" valign="middle">
|
||||||
<field name="name"/>
|
<field name="name"/>
|
||||||
|
<t t-if="record.name.raw_value and record.title.raw_value">,</t>
|
||||||
|
<field name="title"/>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top" width="22">
|
<td valign="top" width="22">
|
||||||
<img t-att-src="kanban_gravatar(record.email.value, 22)" class="oe_kanban_gravatar"/>
|
<img t-att-src="kanban_gravatar(record.email.value, 22)" class="oe_kanban_gravatar"/>
|
||||||
|
@ -450,18 +457,21 @@
|
||||||
<table class="oe_kanban_table">
|
<table class="oe_kanban_table">
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top" width="64" align="left">
|
<td valign="top" width="64" align="left">
|
||||||
<img src="/base/static/src/img/kanban_partner.png" width="64" height="64"/>
|
<img t-att-src="kanban_image('res.partner', 'photo', record.id.value)" width="64" height="64"/>
|
||||||
</td>
|
</td>
|
||||||
<td valign="top" align="left">
|
<td valign="top" align="left">
|
||||||
<div class="oe_kanban_title2">
|
<div class="oe_kanban_title2">
|
||||||
<field name="title"/>
|
<t t-if="record.parent_id.raw_value">
|
||||||
<t t-if="record.title.raw_value and record.country.raw_value">,</t>
|
<field name="parent_id"/>
|
||||||
<!--field name="country"/-->
|
</t>
|
||||||
|
<t t-if="record.is_company.raw_value">
|
||||||
|
<field name="country_id"/>
|
||||||
|
</t>
|
||||||
</div>
|
</div>
|
||||||
<div class="oe_kanban_title3">
|
<div class="oe_kanban_title3">
|
||||||
<field name="subname"/>
|
<t t-if="record.function.raw_value">
|
||||||
<t t-if="record.subname.raw_value and record.function.raw_value">,</t>
|
<field name="function"/>
|
||||||
<field name="function"/>
|
</t>
|
||||||
</div>
|
</div>
|
||||||
<div class="oe_kanban_title3">
|
<div class="oe_kanban_title3">
|
||||||
<i><field name="email"/>
|
<i><field name="email"/>
|
||||||
|
|
Loading…
Reference in New Issue