Skip to content

Conversation

@antoniodavid
Copy link

No description provided.

Alexis de Lattre added 30 commits September 10, 2025 14:34
Long life to the asterisk_click2dial module for OpenERP !
- option to allow the use of phone numbers in National format,
  as discussed with Albert. This option is on the definition of the server.
  -> required a large change of the reformat number process
- added exact link to documentation in module description
- some clean-up
but he also made the change in the name of the SIP header !
This commit reverts this mistake.
In fact, it corresponds to the 'Timeout' instruction for the Asterisk Manager
Add French translation for these messages.
- Convert the comments for the functions to the standard style
Added "active" field on asterisk.server object.
In order to access all the Asterisk servers, included the desactivated ones,
I added a view dedicated to the object asterisk.server, which is accessible
under Administration > Configuration.
Thanks to Bernat Brunet from NaN for pointing this out.
Make phone and mobile fields searchable
Took into account some pylint coding convention suggestions
- we now handle the fact that phone numbers may contain spaces or special chars such in OpenERP, which is often the case in real life
- check input number
Update in comments
…ber in the callerID instruction to Asterisk.

Patch courtesy of Marcel van der Boom. Thanks for your feedback !
  Accoring to my tests and the info I got, SIP phones support UTF-8 fine
- Create a command line option to convert the name from UTF-8 to ASCII (-a)
- add default parameter to the help message
…a priority on the res.partner view.

Better handling of check functions when there are several ids.
…rm1 and removes the "mobile" field, so I need to change the priority to this view too.
Thanks to Todd Johnson for pointing out this mistake.
…k server now inherit from the tree/form view in the company form.
Changed view names
Great solution (thanks to Sebastien for finding it !) to avoid having 2 different tree&form views for asterisk server.
Larger phone field in res_partner_address (smaller 'dial' button)
. adds debug message
. starts to better manage character encoding in the networking code... but I still need more info about AMI on this.
- 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
OCA-git-bot and others added 25 commits September 10, 2025 14:34
Currently translated at 100.0% (91 of 91 strings)

Translation: connector-telephony-14.0/connector-telephony-14.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial/pt_BR/
Currently translated at 96.7% (88 of 91 strings)

Translation: connector-telephony-14.0/connector-telephony-14.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial/es_AR/
Currently translated at 7.6% (7 of 91 strings)

Translation: connector-telephony-14.0/connector-telephony-14.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial/it/
Currently translated at 8.7% (8 of 91 strings)

Translation: connector-telephony-14.0/connector-telephony-14.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial/sl/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: connector-telephony-14.0/connector-telephony-14.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial/
Currently translated at 100.0% (91 of 91 strings)

Translation: connector-telephony-14.0/connector-telephony-14.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: connector-telephony-17.0/connector-telephony-17.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-17-0/connector-telephony-17-0-asterisk_click2dial/
Currently translated at 98.7% (77 of 78 strings)

Translation: connector-telephony-17.0/connector-telephony-17.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-17-0/connector-telephony-17-0-asterisk_click2dial/it/
Currently translated at 100.0% (78 of 78 strings)

Translation: connector-telephony-17.0/connector-telephony-17.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-17-0/connector-telephony-17-0-asterisk_click2dial/it/
Currently translated at 100.0% (78 of 78 strings)

Translation: connector-telephony-17.0/connector-telephony-17.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-17-0/connector-telephony-17-0-asterisk_click2dial/it/
@antoniodavid antoniodavid mentioned this pull request Sep 12, 2025
3 tasks
@antoniodavid antoniodavid force-pushed the 18.0-mig-asterisk_click2dial branch from c8e4cd3 to 807ad18 Compare September 12, 2025 04:41
@Dkodsy
Copy link

Dkodsy commented Sep 26, 2025

@antoniodavid
Hi — thanks for the great work! Just to confirm: is the module already updated for Odoo 18 but not yet included in the 18 branch?

@cvinh
Copy link
Contributor

cvinh commented Nov 1, 2025

thanks for migrating this module
can you please fix pre-commit ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.