odoo icon indicating copy to clipboard operation
odoo copied to clipboard

[FIX] calendar: irrelevant map link and resources section in email

Open khpa-odoo opened this issue 11 months ago • 4 comments

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

khpa-odoo avatar Apr 03 '24 13:04 khpa-odoo

Pull request status dashboard.

robodoo avatar Apr 03 '24 13:04 robodoo

@jeh-odoo Hello : ) Changed the condition as discussed :+1:

khpa-odoo avatar Apr 10 '24 12:04 khpa-odoo

@jeh-odoo Hello : ) Changed the condition as discussed :+1:

khpa-odoo avatar Apr 12 '24 06:04 khpa-odoo

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!

khpa-odoo avatar May 16 '24 13:05 khpa-odoo

@robodoo r+

Have to say everything is not crystal clear, but hey if it solves all issues with templates, who am I to judge.

tde-banana-odoo avatar May 31 '24 11:05 tde-banana-odoo