Is it possible to create conditional email templates?
For example:
a user on the phone number: Create a question to ask about the phone number.
The user has a telephone number: There is no such question in the email.
Is it possible? How can I do it?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
3776
Views
Thanks, but it doesn't work for me.
When writing in the template write me the code
% if object.partner_id.phone:
<strong>can you please add you phone number? </strong>
% endif
I think the system does not interpret "% if"That could be happening?
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
% if object.partner_id.phone:
<strong>can you please add you phone number? </strong>
% endif