2010-03-10 05:47:17 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2010-03-17 12:57:11 +00:00
|
|
|
|
|
|
|
<!-- Phonecall to Phonecall view -->
|
|
|
|
|
2010-03-10 05:47:17 +00:00
|
|
|
<record model="ir.ui.view" id="phonecall_to_phonecall_view">
|
|
|
|
<field name="name">crm.phonecall2phonecall.form</field>
|
|
|
|
<field name="model">crm.phonecall2phonecall</field>
|
|
|
|
<field name="arch" type="xml">
|
2014-06-12 07:09:59 +00:00
|
|
|
<form string="Schedule/Log a Call">
|
2012-06-09 14:13:14 +00:00
|
|
|
<group col="4">
|
2011-04-19 10:00:53 +00:00
|
|
|
<field name="action"/>
|
2010-07-09 06:25:00 +00:00
|
|
|
<field name="name"/>
|
2011-04-27 09:22:02 +00:00
|
|
|
<field name="date" string="Planned Date" attrs="{'invisible': [('action','=','log')]}"/>
|
2011-05-17 13:28:30 +00:00
|
|
|
<field name="partner_id" readonly="True"/>
|
2013-09-04 14:11:22 +00:00
|
|
|
<field name="user_id" context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'base.group_sale_salesman_all_leads']}"/>
|
2013-03-25 16:51:25 +00:00
|
|
|
<field name="section_id" groups="base.group_multi_salesteams"/>
|
2012-06-09 14:13:14 +00:00
|
|
|
</group>
|
2012-07-10 16:40:11 +00:00
|
|
|
<footer>
|
|
|
|
<button name="action_schedule" type="object" string="Log Call" attrs="{'invisible' : [('action', '!=', 'log')]}" class="oe_highlight"/>
|
|
|
|
<button name="action_schedule" type="object" string="Schedule Call" attrs="{'invisible' : [('action', '!=', 'schedule')]}" class="oe_highlight"/>
|
|
|
|
or
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
|
|
</footer>
|
2010-03-10 05:47:17 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-17 12:57:11 +00:00
|
|
|
|
|
|
|
<!-- Phonecall to Phonecall action -->
|
|
|
|
|
2010-03-10 05:47:17 +00:00
|
|
|
<record model="ir.actions.act_window" id="phonecall_to_phonecall_act">
|
|
|
|
<field name="name">Schedule Other Call</field>
|
|
|
|
<field name="res_model">crm.phonecall2phonecall</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="phonecall_to_phonecall_view"/>
|
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
2010-03-17 12:57:11 +00:00
|
|
|
|
2010-03-10 05:47:17 +00:00
|
|
|
</data>
|
2010-07-09 06:25:00 +00:00
|
|
|
</openerp>
|