odoo
odoo copied to clipboard
[FIX] calendar: irrelevant map link and resources section in email
Before this PR:
While booking an appointment, the outgoing emails contain an irrelevant 'View Map' hyperlink, displayed after location name even when 'res.partner' has no contact address set.
This PR resolves the issue by tweaking the conditions to display the 'hyperlink' to search location address correctly.
After this PR:
The 'View Map' hyperlink is displayed only when res.partner not only has the location name, but a set location address for the appointment.
Task - 3829148
@jeh-odoo Hello : ) Changed the condition as discussed :+1:
@jeh-odoo Hello : ) Changed the condition as discussed :+1:
Hello :wave: @tde-banana-odoo Added some reasons behind the code manipulations :sweat_smile: Check them out and let me know if I' missing something. Cheers!
@robodoo r+
Have to say everything is not crystal clear, but hey if it solves all issues with templates, who am I to judge.