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

[16.0][MIG] base_phone: Migration to 16.0 #300

Closed
wants to merge 107 commits into from

Conversation

hailangvn2023
Copy link

Copy link

@grindtildeath grindtildeath left a comment

Choose a reason for hiding this comment

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

Not blocking

Comment on lines 57 to 58
partner1._onchange_phone_validation()
partner1._onchange_mobile_validation()

Choose a reason for hiding this comment

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

Ca we move to Form to avoid having to call onchanges explicitely? 🙏

Comment on lines 77 to 78
partner2._onchange_phone_validation()
partner2._onchange_mobile_validation()

Choose a reason for hiding this comment

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

Same as above

@hailangvn2023
Copy link
Author

hailangvn2023 commented May 17, 2023

Not blocking

Good day @grindtildeath, thanks for your review. The test and the code have been improved.

@hailangvn2023 hailangvn2023 marked this pull request as ready for review June 7, 2023 04:30
Copy link

@TelmoSuarezConinpe TelmoSuarezConinpe left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

@AsierAcedo AsierAcedo left a comment

Choose a reason for hiding this comment

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

LGTM!

@ivs-cetmix
Copy link
Member

Hey @OCA/connector-telephony-maintainers could you please have a look at this and merge if possible?

@ivs-cetmix
Copy link
Member

Hey @hailangvn2023 could you please rebase the branch?

@nimarosa
Copy link
Contributor

/ocabot rebase

OCA-git-bot and others added 17 commits February 13, 2024 01:18
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 !)
mvrodriguez and others added 23 commits February 13, 2024 01:18
Currently translated at 100.0% (54 of 54 strings)

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/es/
Move tests from base_phone to crm_phone (to benefit from crm_phone_validation)
Don't use a demo partner in test (this partner was removed in later versions)
Continue to remove dependancy on demo data in tests
Forward port of base_phone_popup from v10 to v12 (use web_notify)
Cf my comment for the solution to be compatible with crm_phone_validation without depending on it.
Currently translated at 50.0% (27 of 54 strings)

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/pt_BR/
Migrate README to new subdir format
Large code clean-up
Remove dead lines
self.env.user.company_id => self.env.company
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/
@OCA-git-bot
Copy link
Contributor

Congratulations, PR rebased to 16.0.

@flotho
Copy link
Member

flotho commented Feb 14, 2024

pop @hailangvn , any chance to fix precommit ?

@sonhd91
Copy link

sonhd91 commented Feb 15, 2024

Superseded by #314

@nimarosa nimarosa closed this Feb 15, 2024
@sonhd91
Copy link

sonhd91 commented Feb 15, 2024

pop @hailangvn , any chance to fix precommit ?

@flotho could you please take a look at #314 ? This PR already rebase and fix pre-commit

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

Successfully merging this pull request may close these issues.