fix
authorFabien Pinckaers <fp@tinyerp.com>
Mon, 17 Jan 2011 22:22:19 +0000 (23:22 +0100)
committerFabien Pinckaers <fp@tinyerp.com>
Mon, 17 Jan 2011 22:22:19 +0000 (23:22 +0100)
bzr revid: fp@tinyerp.com-20110117222219-7ptcd9txt95wejzh

addons/crm/crm_phonecall_menu.xml
addons/crm/crm_phonecall_view.xml

index 20b72c0..f223ee1 100644 (file)
@@ -67,7 +67,7 @@
         <field name="view_mode">tree,calendar</field>
         <field name="view_id" ref="crm_case_phone_tree_view"/>
         <field name="domain" eval="'[(\'categ_id\',\'=\','+str(ref('categ_phone1'))+')]'"/>
-        <field name="context" eval="'{\'search_default_section_id\':section_id, \'set_editable\':True,\'default_state\':\'open\', \'search_default_current\':1,\'search_default_today\':1, \'default_categ_id\': ' + str(ref('categ_phone1')) +'}'"/>
+        <field name="context" eval="'{\'search_default_section_id\':section_id, \'default_state\':\'open\', \'search_default_current\':1,\'search_default_today\':1, \'default_categ_id\': ' + str(ref('categ_phone1')) +'}'"/>
         <field name="search_view_id" ref="crm.view_crm_case_phonecalls_filter"/>
         <field name="help">The Inbound Calls tool allows you to log your inbound calls on the fly. Each call you get will appear on the partner form to trace every contact you have with a partner. From the phone call form, you can trigger a request for another call, a meeting or an opportunity.</field>
 
index d3e6f8f..44487e2 100644 (file)
         <field name="model">crm.phonecall</field>
         <field name="type">tree</field>
         <field name="arch" type="xml">
-            <tree string="Phone Calls" colors="grey:state in ('cancel','done');blue:state in ('pending',)">
+            <tree string="Phone Calls" colors="grey:state in ('cancel','done');blue:state in ('pending',)" editable="top">
                 <field name="date"/>
                 <field name="name"/>
                 <field name="partner_id"