Launchpad automatic translations update.
[odoo/odoo.git] / addons / crm / crm_lead_view.xml
index 19dee33..c552b18 100644 (file)
         <!--
             LEADS
         -->
+        <act_window
+                id="act_crm_opportunity_crm_phonecall_new"
+                name="Phone calls"
+                groups="base.group_sale_salesman"
+                res_model="crm.phonecall"
+                view_mode="tree,calendar,form"
+                context="{'default_duration': 1.0 ,'default_opportunity_id': active_id}"
+                view_type="form"/>
 
         <act_window
                 id="act_crm_opportunity_crm_meeting_new"
                 </header>
                 <sheet>
                     <div class="oe_right oe_button_box" name="buttons">
-                        <button type="object"
-                            name="view_phone_calls"
+                        <button type="action"
+                            name="%(act_crm_opportunity_crm_phonecall_new)d"
                             string="Phone Calls"/>
                     </div>
                     <div class="oe_title">