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.
 
 
 
 
 

36 lines
1.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<!--
© 2014-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="number_not_found_form" model="ir.ui.view">
<field name="name">crm_phone.number.not.found.form</field>
<field name="model">number.not.found</field>
<field name="inherit_id" ref="base_phone.number_not_found_form"/>
<field name="arch" type="xml">
<group name="create-update" position="inside">
<group name="lead" string="Create or Update a Lead"
colspan="1">
<button name="create_lead" colspan="2"
string="Create Lead with this Number" type="object"
class="oe_highlight"/>
<field name="to_update_lead_id"/>
<field name="current_lead_phone" widget="phone"
options="{'dial_button_invisible': True}"/>
<field name="current_lead_mobile" widget="phone"
options="{'dial_button_invisible': True}"/>
<button name="update_lead" colspan="2"
string="Update Lead with this Number" type="object"
class="oe_highlight"/>
</group>
</group>
</field>
</record>
</data>
</odoo>