Browse Source

FIX remplace debug stuff by real code !

pull/8/head
Alexis de Lattre 10 years ago
parent
commit
497665c8b4
  1. 6
      asterisk_click2dial/asterisk_click2dial.py

6
asterisk_click2dial/asterisk_click2dial.py

@ -316,9 +316,9 @@ class asterisk_server(orm.Model):
return calling_party_number
def get_record_from_my_channel(self, cr, uid, context=None):
#calling_number = self.pool['asterisk.server']._get_calling_number(
# cr, uid, context=context)
calling_number = "0641981246"
calling_number = self.pool['asterisk.server']._get_calling_number(
cr, uid, context=context)
#calling_number = "0641981246"
if calling_number:
record = self.pool['phone.common'].get_record_from_phone_number(
cr, uid, calling_number, context=context)

Loading…
Cancel
Save