You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
997 B
30 lines
997 B
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
© 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
-->
|
|
|
|
<odoo>
|
|
<data>
|
|
|
|
|
|
<record id="view_partner_form" model="ir.ui.view">
|
|
<field name="name">phonecall.res.partner.form</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
<field name="groups_id" eval="[(4, ref('base.group_sale_salesman')), (4, ref('base.group_partner_manager'))]"/>
|
|
<field name="arch" type="xml">
|
|
<div name="button_box" position="inside">
|
|
<button class="oe_inline oe_stat_button" type="action"
|
|
name="%(crm_phone.crm_phonecall_action)d"
|
|
icon="fa-phone"
|
|
context="{'search_default_partner_id': active_id}">
|
|
<field string="Calls" name="phonecall_count" widget="statinfo"/>
|
|
</button>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
</data>
|
|
</odoo>
|