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="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2011-05-17 13:28:30 +00:00
|
|
|
<form string="Schedule/Log a call">
|
2012-04-24 06:05:32 +00:00
|
|
|
<separator string="Schedule/Log a Call" colspan="4"/>
|
2011-04-19 10:00:53 +00:00
|
|
|
<field name="action"/>
|
|
|
|
<separator string="Call Details" colspan="4"/>
|
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"/>
|
2010-07-09 06:25:00 +00:00
|
|
|
<field name="user_id" />
|
|
|
|
<field name="section_id"/>
|
2011-04-19 11:25:23 +00:00
|
|
|
<field name="categ_id" string="Type" widget="selection" domain="[('object_id.model', '=', 'crm.phonecall')]"/>
|
2010-07-09 06:25:00 +00:00
|
|
|
<separator string=" " colspan="4"/>
|
|
|
|
<group colspan="4" col="3" >
|
|
|
|
<button name="action_cancel" string="_Cancel" icon="gtk-cancel" special="cancel" />
|
2012-04-24 06:05:32 +00:00
|
|
|
<button name="action_schedule" type="object" string="Log Call" icon="gtk-ok" attrs="{'invisible' : [('action', '!=', 'log')]}" />
|
|
|
|
<button name="action_schedule" type="object" string="Schedule Call" icon="gtk-ok" attrs="{'invisible' : [('action', '!=', 'schedule')]}" />
|
2010-07-09 06:25:00 +00:00
|
|
|
</group>
|
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>
|