2010-06-25 09:50:38 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<!-- Partners inherited form -->
|
2013-03-26 11:38:12 +00:00
|
|
|
<record id="view_task_partner_info_form" model="ir.ui.view">
|
|
|
|
<field name="name">res.partner.task.buttons</field>
|
2010-12-07 08:40:01 +00:00
|
|
|
<field name="model">res.partner</field>
|
|
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
2013-05-31 05:46:02 +00:00
|
|
|
<field name="priority" eval="50"/>
|
2014-08-19 08:29:35 +00:00
|
|
|
<field name="groups_id" eval="[(4, ref('project.group_project_user'))]"/>
|
2010-12-07 08:40:01 +00:00
|
|
|
<field name="arch" type="xml">
|
2013-03-26 11:38:12 +00:00
|
|
|
<xpath expr="//div[@name='buttons']" position="inside">
|
2014-03-20 13:44:14 +00:00
|
|
|
<button class="oe_inline oe_stat_button" type="action" name="%(action_view_task)d"
|
2013-04-12 08:25:00 +00:00
|
|
|
context="{'search_default_partner_id': active_id, 'default_partner_id': active_id}"
|
2014-08-19 08:29:35 +00:00
|
|
|
icon="fa-tasks">
|
2014-03-20 13:44:14 +00:00
|
|
|
<field string="Tasks" name="task_count" widget="statinfo"/>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
2012-06-29 11:39:33 +00:00
|
|
|
</xpath>
|
2010-06-25 09:50:38 +00:00
|
|
|
</field>
|
2013-03-26 11:38:12 +00:00
|
|
|
</record>
|
|
|
|
|
2010-06-25 09:50:38 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|