Skip to Content
Menu
This question has been flagged
1 Reply
2871 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

Related Posts Replies Views Activity
1
Jul 20
4248
2
May 21
2147
2
Sep 23
2103
1
Dec 22
1079
3
Nov 22
2883