Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0] [MIG] asterisk_click2dial: Migration to 17.0 #317

Merged
merged 187 commits into from
May 18, 2024

Conversation

luisDIXMIT
Copy link

removed js after considering it unnecessary

@etobella @alexis-via

@luisDIXMIT luisDIXMIT force-pushed the 17.0-mig-asterisk_click2dial branch from 373df46 to a077af2 Compare April 4, 2024 11:51
@etobella etobella force-pushed the 17.0-mig-asterisk_click2dial branch from 018fc5b to a8eb281 Compare April 4, 2024 15:11
@luisDIXMIT luisDIXMIT force-pushed the 17.0-mig-asterisk_click2dial branch 5 times, most recently from 7d6495a to 1835811 Compare April 8, 2024 13:28
@etobella
Copy link
Member

etobella commented May 5, 2024

/ocabot migration asterisk_click2dial

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone May 5, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request May 5, 2024
2 tasks
@cvinh
Copy link
Contributor

cvinh commented May 5, 2024

@luisDIXMIT can you apply changes of v16 please
#319
And maybe rebase from v16... it would be easier to review

Alexis de Lattre added 18 commits May 6, 2024 11:37
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
Rodrigo Macedo and others added 15 commits May 6, 2024 11:37
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/
@luisDIXMIT luisDIXMIT force-pushed the 17.0-mig-asterisk_click2dial branch from 1835811 to cdf4b73 Compare May 6, 2024 10:16
@luisDIXMIT
Copy link
Author

@cvinh comments looked after. Migration done from v16

"Connection Test Successfull! Odoo can successfully login to"
"Asterisk."
),
"message": _("Your request has been successfully sent"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as for v16, please keep the original message

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. I have updated it.

@luisDIXMIT luisDIXMIT force-pushed the 17.0-mig-asterisk_click2dial branch from 0b785e7 to c45252d Compare May 7, 2024 16:10
@dreispt
Copy link
Sponsor Member

dreispt commented May 18, 2024

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 17.0-ocabot-merge-pr-317-by-dreispt-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 49313b1 into OCA:17.0 May 18, 2024
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at b8c0c55. Thanks a lot for contributing to OCA. ❤️

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

Successfully merging this pull request may close these issues.