OCA / connector-telephony

Odoo modules for telephony integration
GNU Affero General Public License v3.0
151 stars 293 forks source link

[FIX][12.0] Open caller button bug #216

Closed ecino closed 3 years ago

ecino commented 4 years ago

This is a strange bug that appears when single quotes are used inside a double quote translated string. The error message: Uncaught Error: [_.sprintf] expecting number but found string is triggered as if it modified the way formats behave. Using an escaped double quote is not a solution neither because it appears as a double quote with a preceding backslash in the resulting string. Here are a few options to solve this issue:

It fixes also an issue where you don't get the correct phonecalls when you go from a partner into his opportunities and then in the phonecalls, because the active_id is then associated to a partner and not an opportunity.

dreispt commented 3 years ago

/ocabot merge patch

OCA-git-bot commented 3 years ago

On my way to merge this fine PR! Prepared branch 12.0-ocabot-merge-pr-216-by-dreispt-bump-patch, awaiting test results.

OCA-git-bot commented 3 years ago

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