Closed ecino closed 3 years ago
/ocabot merge patch
On my way to merge this fine PR! Prepared branch 12.0-ocabot-merge-pr-216-by-dreispt-bump-patch, awaiting test results.
Congratulations, your PR was merged at ad72092e3d69f2eecb71e8f9b713f9acc33df50e. Thanks a lot for contributing to OCA. ❤️
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.