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 ?)
12 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
nodenet-1
d0a008beb9
Patch courtesy of daemon dog :
- add support for SCCP phones
- adds dial_suffix to allow some tweaking for SCCP phones
- move menu entry of asterisk servers to Settings >Configuration > Asterisk servers
- strip (0) from phone number in all scenarios
Added by me : re-org of res.users form view, to separate standard parameters from advanced/optional ones.
13 years ago
Alexis de Lattre
4d246794bf
Rename field propose_creation_crm_phonecall to context_propose_creation_crm_call in order to allow modification via the user's preferences.
13 years ago
Alexis de Lattre
2545c13286
asterisk_click2dial_crm :
- when you do a click2dial, it now triggers a wizard that proposes to create a CRM phone call (instead of directly creating the CRM phone call)
- Add option on res_users for users who don't want to trigger the wizard when they do a click2dial
- Add FR translation
- update module description and module category
asterisk_click2dial :
- update module category
13 years ago
Alexis de Lattre
f369629f4c
Port asterisk_click2dial_crm to version 6.1 :
- code re-factoring
- add "open CRM call" from the "open calling partner" wizard
13 years ago
Alexis de Lattre
7ec3d004df
Port the fix that I made in extra-6.0 revno 5804.
13 years ago
Raimon Esteve
d57b50992b
[ADD] asterisk_click2dial_crm
13 years ago
Alexis de Lattre
8257572891
Better error message.
13 years ago
Alexis de Lattre
320d8de274
[FIX] avoid a crash when emptying "contact to update"
Fix typo
13 years ago
Alexis de Lattre
d872a4fdbb
Add 'variable' field on res.users
New design of the pop-up "open calling partner" when the calling number is not found
When calling number is not found, now also proposes to update an existing contact
Update French translation
Update module description
13 years ago
Alexis de Lattre
a6c2095d41
Update translation file.
Update French translation.
Update module description.
13 years ago
Alexis de Lattre
5b5ae883b0
Works even if national_prefix is empty.
13 years ago
Alexis de Lattre
b3d0b3d24d
Convert the phone number to international format before writing it on the new partner.
Factorize code.
13 years ago
Alexis de Lattre
f49a94d14e
Add logo that will appear in the list of modules in web client
13 years ago
Alexis de Lattre
192fee1b00
Add user-specific alert-info option.
Ability to have multiple alert-info options (separate them with '|').
13 years ago
Alexis de Lattre
3a01e63f36
For the feature "Open calling party", if the phone number is not in OpenERP, he proposes to create a new partner with this phone or mobile number.
13 years ago
Alexis de Lattre
a4d2a0caed
Add 2 screenshots.
13 years ago
Alexis de Lattre
8d0cc9c431
Improve (and fixes) the 'Open calling partner' function : better usability and less clicks
Update the description.
13 years ago
Alexis de Lattre
a1327e3b6d
Update the module description to add the new feature "open calling partner".
Code clean-up.
13 years ago
Alexis de Lattre
8e18303c24
Remove purchase menu entry, because it would require a dependancy on the 'purchase' module.
13 years ago
Alexis de Lattre
b1da5449be
New feature : add wizard that opens the partner form of the calling party
13 years ago
Alexis de Lattre
366e33437f
[IMP] Better AGI script :
- cleaner code
- should avoid these Asterisk errors :
utils.c ast_carefulwrite: write() returned error: Broken pipe
13 years ago
Alexis de Lattre
a418836638
[FIX] Fix issue in constraint function for res_users.
13 years ago
Alexis de Lattre
ecc838c39f
Add translations from extra-trunk
13 years ago
Alexis de Lattre
2bacbe5af7
Convert to new logger API of OpenERP 6.1
Remove print
13 years ago
Alexis de Lattre
2bf74f63e1
Cosmetic changes.
13 years ago
Alexis de Lattre
5655017698
Large code cleanup :
- now parses answers received from Asterisk and display errors to the user
- now properly encodes the requests sent to Asterisk in ASCII (AMI doesn't support other charsets unfortunately)
- required fields are now required=True
- Single constraint function for all asterisk.server fields
- Fields that shouldn't have non-ascii caracters are not validated if they have non-ASCII caracters (including CallerID)
- clean-up error message code
- if no Asterisk server is defined for a user, it takes the first Asterisk serve
r defined
- methods now always return something
13 years ago
Alexis de Lattre
965389e5a9
Start to clean the networking code :
. adds debug message
. starts to better manage character encoding in the networking code... but I still need more info about AMI on this.
13 years ago
Alexis de Lattre
233aa43769
Create a dedicated Tab in the res_users view.
Larger phone field in res_partner_address (smaller 'dial' button)
13 years ago
Alexis de Lattre
b594b084dd
Fallback to utf-8 if sys.stdout.encoding fails.
13 years ago
Alexis de Lattre
c80995b336
Add support for XML-RPC secure with SSL.
13 years ago
Alexis de Lattre
5ab7197afe
Changed author name to Akretion
Changed view names
Great solution (thanks to Sebastien for finding it !) to avoid having 2 different tree&form views for asterisk server.
14 years ago
Alexis de Lattre
21435adf51
Avoid code duplication in views : the full tree/form view for Asterisk server now inherit from the tree/form view in the company form.
14 years ago