I'm customizing the Sales Order - Send by Email template. and I want to change the one of the first lines of the template.
Hello ${object.partner_id.name},
to
Dear $(object.partnerIid.title) $(object.partner_id.name),
Unfortunately this is not working.
I get browse_record(res.partner.tittle,6) instead of Sir.
How can I change the template so I get the correct title?