This question has been flagged
1 Reply
2735 Views

Hi,

When I create a quotation in Sales and if i select Online Signature option, I want to write in Sales Order Send Mail Template;
>Quotation will be confirmed after your signing.

If i select Online Payment option, I want to write in Sales Order Send Mail Template;
>Your quotation will be confirmed after payment

I find this two parameter in Odoo;

record.has_to_be_signed

record.has_to_be_paid

How can i use this parameters in email templates?

Best regards

Avatar
Discard
Best Answer

Hi Cemhan,

You can try like this

% if object.your_paramter:
Foo
% else:
Bar 
% endif


Regards


Global Creative Concepts Tech Co Ltd.

Avatar
Discard
Author

Dear Shameem,

Thank you for reply.

% if object.require_signature:

<li>Yoy can sign</li>

% endif

% if object.require_payment:

<li>You can pay</li>

% endif

It is working

Cemhan