Skip to content

Commit

Permalink
Merge a450e0f into 9f516e3
Browse files Browse the repository at this point in the history
  • Loading branch information
archetipo committed Dec 17, 2014
2 parents 9f516e3 + a450e0f commit f5bbb1e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions l10n_it_pec/view/partner_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,29 @@
</field>
</field>
</record>
<record id="view_partner_pec_tree" model="ir.ui.view">
<field name="name">res.partner.pec.tree</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_tree"/>
<field name="arch" type="xml">
<field name="email" position="after">
<field name="pec_mail" />
</field>
</field>
</record>

<record model="ir.ui.view" id="res_partner_kanban_pec_view">
<field name="name">res.partner.pec.kanban</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.res_partner_kanban_view"/>
<field name="arch" type="xml">
<field name="email" position="after">
<field name="pec_mail"/>
</field>
<xpath expr="//div[contains(@class, 'oe_kanban_details')]/ul" position="inside">
<li t-if="record.pec_mail.raw_value"><b>PEC: </b><a t-attf-href="mailto:#{record.pec_mail.raw_value}"><field name="pec_mail"/></a></li>
</xpath>
</field>
</record>
</data>
</openerp>

0 comments on commit f5bbb1e

Please sign in to comment.