Hi!
Is it somehow possible to use different mail templates for the calendar invitation mails (odoo11)?
I would like to create different kind of appointments with different templates attached...
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi!
Is it somehow possible to use different mail templates for the calendar invitation mails (odoo11)?
I would like to create different kind of appointments with different templates attached...
Hi,
Based on what information your template should be different ?
If there is no such precise information, i suggest you add it and in Create function, check its value and call the approprioate template.
something like this : here i consider that the field has Selection signature.
if field_value == 'dentist' :
Call template = self.env.ref('module.your template_name')
send your template
elif field_value == 'lawyer' :
Call lawyer_template = self.env.ref('module.your lawyer_template _name')
send your lawyer_template .
and so on..
Upvote if this helps.
Regards.
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
2
jul. 24
|
2662 | ||
|
1
jun. 24
|
5130 | ||
|
1
okt. 23
|
10835 | ||
|
1
okt. 23
|
98 | ||
413 Request Entity Too Large
Opgelost
|
|
1
aug. 23
|
2193 |