Browse Source

Add encoding in the shell script get_cid_name_timeout.sh

Remove an unused line of code.
pull/7/head
Alexis de Lattre 11 years ago
parent
commit
640cddab34
  1. 2
      asterisk_click2dial/scripts/get_cid_name_timeout.sh
  2. 2
      asterisk_click2dial_crm/wizard/create_crm_phonecall.py

2
asterisk_click2dial/scripts/get_cid_name_timeout.sh

@ -1,4 +1,6 @@
#! /bin/sh
# -*- encoding: utf-8 -*-
#
# Written by Alexis de Lattre <alexis.delattre@akretion.com>
# Example of wrapper for get_cid_name.py which makes sure that the

2
asterisk_click2dial_crm/wizard/create_crm_phonecall.py

@ -37,8 +37,6 @@ class wizard_create_crm_phonecall(osv.osv_memory):
def _create_open_crm_phonecall(self, cr, uid, partner, crm_categ, context=None):
if context is None:
context = {}
crm_phonecall_obj = self.pool['crm.phonecall']
categ_ids = self.pool['crm.case.categ'].search(cr, uid, [('name','=',crm_categ)], context={'lang': 'en_US'})
case_section_ids = self.pool['crm.case.section'].search(cr, uid, [('member_ids', 'in', uid)], context=context)
context.update({

Loading…
Cancel
Save