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.
28 lines
988 B
28 lines
988 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>
|
|
|
|
|
|
<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('sales_team.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>
|
|
|
|
|
|
</odoo>
|