Alexis de Lattre
41fcd5f81c
Update my script to make it work with the latest versions of the phonenumbers lib.
11 years ago
Alexis de Lattre
ee958d9d31
Use RFC 2806 : add a fax: URL and convert callto: URLs to tel: URLs
The wizard "Reformat phones numbers" is now extended to objects other than res.partner
Update coding standard
Don't use xpath in inherited views when not necessary
11 years ago
Alexis de Lattre
4a0c55c400
FIX to make the script work with the latest version of the phonenumbers lib
11 years ago
Alexis de Lattre
d83ecd62bf
Add 'external_dependencies' in __openerp__.py
Remove unneeded imports
11 years ago
Alexis de Lattre
867b270a40
No need for ilike to match numbers !
12 years ago
Alexis de Lattre
6e7a2b5c2f
The regular "phone", "mobile" and "fax" fields now store the phone number in E164 format ; the special fields phone_e164, mobile_e164 and fax_164 are not used any more.
Add phone widget that handle the "nice" display of phone number to the user.
IMPORTANT : you need to restart the wizard "Reformat all phone numbers" in order to put the "phone", "mobile" and "fax" fields in E164 format (without spaces).
12 years ago
Alexis de Lattre
9ffc1637e7
[MERGE] Branch lp:~invitu/openerp-asterisk-connector/openerp-asterisk-connector_7_0 by Invitu
Adds a module asterisk_click2dial_registration (depends on "event" module).
12 years ago
Invitu
ab01598c88
[IMP] Add registration integration
12 years ago
Alexis de Lattre
d715ff352a
Fix a few strings.
Update POT file and French translation.
12 years ago
Alexis de Lattre
dee71dea26
Add back "Local" as channel type.
12 years ago
Alexis de Lattre
1c09f4cb7e
[FIX] a regression that I introduced in Invitu's code.
12 years ago
Alexis de Lattre
630202bd59
[MERGE] Merge branch lp:~invitu/openerp-asterisk-connector/openerp-asterisk-connector_7_0 with minor modifications :
- move function _generic_reformat_phonenumbers to asterisk.common
- add "Dial" button on CRM claim form
Thanks to Invitu for this contribution !
12 years ago
Invitu
331636f53d
[IMP] Add Dial button in Claim Form View
12 years ago
Invitu
1b445534fe
[IMP] move generic_reformat_phonenumbers function to asterisk.common
12 years ago
invitu
244ad1dfed
[MERGE] branch lp:~invitu/openerp-asterisk-connector/openerp-asterisk-connector_7_0 that fixes the fonction "open crm phonecall" that was broken by my recent commits
12 years ago
Invitu
d8f560be1e
[FIX] fix open crm phonecall due to alexis's last rewrite
12 years ago
Alexis de Lattre
cba415b9cc
Move the generic code from res.partner to a new object asterisk.common.
res.partner and crm.lead now inherit from asterisk.common. Thanks to Sebastien Beau for giving me the idea.
12 years ago
Alexis de Lattre
213a7d5836
[MERGE] merge branch lp:~invitu/openerp-asterisk-connector/openerp-asterisk-connector_7_0 with a large rewrite in order to avoid code duplication.
Set default value to company_id field.
12 years ago
Invitu
0386c9f843
[IMP] Add Dial button in Lead and Opportunity views
[IMP] Add CDR account management for Originating Call
12 years ago
Alexis de Lattre
9592f3ee7c
Add compatibility with Asterisk 1.4 for the function "Open calling partner"
12 years ago
Alexis de Lattre
94d55f0563
[FIX] Adapt view inheritance of res.partner form to post-v7.0-release changes
Patch courtesy of Marcel van der Boom (HS-Development BV)
12 years ago
Alexis de Lattre
992c1af600
Avoid a crash when the answer to the "Status" query doesn't contain what is expected.
Patch courtesy of Marcel van der Boom (HS-Development BV).
12 years ago
Alexis de Lattre
48205f7b70
Add read rights on asterisk.server for group "Asterisk CallerID"
Patch courtesy of Marcel van der Boom (HS-Development BV)
Convert ACLs from XML format to CSV format.
12 years ago
Alexis de Lattre
640cddab34
Add encoding in the shell script get_cid_name_timeout.sh
Remove an unused line of code.
12 years ago
Alexis de Lattre
0c8a186f36
Remove Local/ from the list of chan types, because Originate doesn't work with Local/phonenumber.
12 years ago
Alexis de Lattre
785cd21cf2
Update version number of the script get_cid_name.py, to make it easier to identify people who forgot to update it.
Update year in copyright
12 years ago
Alexis de Lattre
b26a411541
Country prefix now has an intelligent default value.
Just for fun, because I love the phonenumbers lib !
12 years ago
Alexis de Lattre
9e52016e20
The number of digits to match from the end of the phone number is now configurable. This code is now fully located in the asterisk_click2dial module (removed from the "get_cid_name.py" script).
WARNING : if you upgrade your asterisk_click2dial module to this version, you should also update the script "get_cid_name.py" on your Asterisk server to this version.
The imports now use the new openerp paths.
Convert self.pool.get('obj') to self.pool['obj'] so that it crashes exactly where it should.
12 years ago
Alexis de Lattre
7ee977832f
Cosmetic changes.
12 years ago
Alexis de Lattre
36a6909d0d
Remove <field name="type">form/tree</field> in `ir.ui.view` model (deprecated in OpenERP 7.0)
12 years ago
Alexis de Lattre
d069452dab
Add new module "asterisk_click2dial_crm_claim". This module adds a button "Open Related CRM Claims" on the "Open Calling Partner" wizard.
12 years ago
Alexis de Lattre
c6a7271def
Update views to take advantage of the new styles provided by OpenERP 7.0.
12 years ago
Alexis de Lattre
38c3ccb672
[FIX] res.partner.address -> res.partner
12 years ago
Alexis de Lattre
280709534d
Add a country to "Your company" in demo data (required for this module).
12 years ago
Alexis de Lattre
db5a428277
In the wizards, Instead of creating a new record and opening it, I open a new form with the values. It's better when using the Web interface, because it avoids a click on "Edit".
12 years ago
Alexis de Lattre
7855302227
Oups, fix my previous commit.
12 years ago
Alexis de Lattre
df1d12e643
Port to OpenERP 7.0
Add logo for the module asterisk_click2dial_crm
12 years ago
Alexis de Lattre
3b135715d7
Remove the import of the socket lib, that we don't use any more.
12 years ago
Alexis de Lattre
89aea17fe9
Add some exclusion on CallerID for which we don't query openerp or try to geolocate.
12 years ago
Alexis de Lattre
602abe0639
Use py-asterisk from http://code.google.com/p/py-asterisk/ (up-to-date mercurial version required) instead of our own code
Add a field 'resource' on res.users, which is used in "SIP/resource", instead of "SIP/internal_number", which was not correct. YOU NEED TO UPDATE YOUR DATA !
12 years ago
Alexis de Lattre
b08fbfe04b
Now use a PATH variable in get_cid_name_timeout.sh
get_cid_name.py : don't update the CallerID name if there is already one present.
12 years ago
Alexis de Lattre
36432f2c1a
[FIX] open calling partner should work again.
12 years ago
Alexis de Lattre
be2d36c817
More debug and warning messages, to help a user in its debug.
12 years ago
Alexis de Lattre
0343cc55e0
Add debug log, to help a user.
Small code clean-up.
12 years ago
Alexis de Lattre
66610e43c7
Display the country name only when it's not my own country. This make the option to display only the city useless IMHO, so I removed this option.
12 years ago
Alexis de Lattre
d907ba2e72
Add support for geolocalisation via the phonenumbers lib in the get_cid_name.py script. If you add --geoloc, the numbers that are not found in OpenERP will be geolocalized.
Thanks to Ludovic Gasc for making me discover this great "phonenumbers" lib.
12 years ago
Alexis de Lattre
94269758c5
Now uses the phonenumber lib to reformat numbers in "clean" format and store them in E.164 format. Start to modify the code to take advantage of this great lib.
Thanks to Ludovic Gasc for pointing this lib to me during PyconFR 2012 in Paris !
Fix a bug with Open Calling Partner when CallerID has non-ASCII chars.
Move all code of wizard to wizard directory.
IMPORTANT : when you upgrade to this revision, run the wizard "Reformat all phone numbers" from Settings > Configuration > Asterisk.
12 years ago
Alexis de Lattre
3007465487
Add Local/ as possible channel type
12 years ago
Alexis de Lattre
e0659b3cee
Don't set readonly fields in the "open calling partner" wizard, to avoid calling default_get twice (and thus connect to asterisk twice)
Make "open calling partner" work with Asterisk 1.4 (or it is IAX trunk ?)
13 years ago
Alexis de Lattre
47a5ce21fa
Fix crahes when using the Web interface (these crashes did not occur with the Gtk Client)
13 years ago