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] base_phone: Migration to 17.0 #316

Merged
merged 116 commits into from
Apr 4, 2024

Conversation

luisDIXMIT
Copy link

adapted to owl 2.0

@etobella @alexis-via

OCA-git-bot and others added 30 commits April 3, 2024 08:09
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: connector-telephony-12.0/connector-telephony-12.0-base_phone
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-12-0/connector-telephony-12-0-base_phone/

[UPD] Update base_phone.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: connector-telephony-12.0/connector-telephony-12.0-base_phone
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-12-0/connector-telephony-12-0-base_phone/

[UPD] Update base_phone.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: connector-telephony-12.0/connector-telephony-12.0-base_phone
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-12-0/connector-telephony-12-0-base_phone/

[UPD] Update base_phone.pot

Update translation files

Updated by Update PO files to match POT (msgmerge) hook in Weblate.

Update translation files

Updated by Update PO files to match POT (msgmerge) hook in Weblate.

[UPD] Update base_phone.pot

[UPD] Update base_phone.pot

[UPD] Update base_phone.pot

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex

[UPD] pin flake8 version [ci skip]

pre-commit update [ci skip]

[UPD] .travis.yml: Use verbose colored pre-commit [skip ci]
…reformatting) from the asterisk_click2dial module to a new base_phone module.
- move more asterisk-independant code to base_phone module and create new asterisk-independant modules
- rename module asterisk_popup to base_phone_popup
- add ability to get callerid names not only from partners, but also from leads, employees, applicants, etc...
- same for auto pop-up : not only for partners, but also for leads, employees, etc...
…use it avoids the double inherit of views with phone fields (4 view XML files are removed in asterisk_click2dial* modules thanks to this !)

The "Open Calling Partner" feature is now located in the top right menu, next to the Preferences (instead of the Sales menu)
A click on tel: and fax: links doesn't open a new tab any more
Update description and copyrights of asterisk_click2dial_crm
Convert regular string to translatable string
…letely new behavior

As a consequence, the modules asterisk_click2dial_event and asterisk_click2dial_crm_claim have been dropped
New wizard "Number not found" (inspired by the old "Open Calling Partner" with many enhancements), which is called by base_phone_popup and Open Caller
Formatting of number for click2dial is now handled by the phonenumbers lib: as a consequence, 3 fields have been dropped from asterisk.server (national_prefix, international_prefix, country_prefix)
New option 'dial_button_invisible' in the phone widget
New sample script asterisk_click2dial/scripts/openerp_popup_timeout.sh
Update translations and some module descriptions
All the modules are now PEP8 compliant
…%' myself

Add logger.error in the function used by the inherit of write/create, for easier debugging when it is called by a webservice
Add . in PATH in my sample shell scripts
Code cleanup (thank you flake8 !)
As a consequence, we can have non E.164 values inside the phone/mobile/fax fields: in this case, we don't display an href link on the field and we don't display the Dial button.
Fix show old number on paging for fax field
…ual vs no raise with partner create/write is via code
FIX to display the result of the reformat phonenumber wizard to the user
Remove old-style icons on buttons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
Re-organise the codebase to prepare the arrival of a new module for a telephony system other than Asterisk
…all with XML data for res.company + it's related partner with phone numbers

FIX install wizard
… from the country of the object (partner, lead, hr.applicant), not from the country of the user... a very wanted feature !
Use the new phone attributes on objects inside the code
oca-travis and others added 15 commits April 3, 2024 08:09
Currently translated at 89.2% (50 of 56 strings)

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

Translation: connector-telephony-14.0/connector-telephony-14.0-base_phone
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-base_phone/fr/
Currently translated at 14.2% (8 of 56 strings)

Translation: connector-telephony-14.0/connector-telephony-14.0-base_phone
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-base_phone/it/
Currently translated at 76.7% (43 of 56 strings)

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

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

Translation: connector-telephony-14.0/connector-telephony-14.0-base_phone
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-base_phone/es/
Copy link

@LoisRForgeFlow LoisRForgeFlow left a comment

Choose a reason for hiding this comment

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

Code review 👍

@etobella
Copy link
Member

etobella commented Apr 4, 2024

/ocabot merge nobump

@etobella
Copy link
Member

etobella commented Apr 4, 2024

/ocabot migration base_phone

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

What a great day to merge this nice PR. Let's do it!
Prepared branch 17.0-ocabot-merge-pr-316-by-etobella-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 8f33817 into OCA:17.0 Apr 4, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@etobella etobella deleted the 17.0-mig-base_phone branch April 4, 2024 13:44
@Nikul-OSI Nikul-OSI mentioned this pull request Jul 8, 2024
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.