Skip to Content
Menu
This question has been flagged
1 Reply
6029 Views

Hi all,

I created a new system parameter calles "chillafish.database.name" and have given it a value.

In an email template I want to display this value.  Can anyone tell me how to call it in the html template ?  I am unsure about how to access this from the email template.


Thanks,

Seppe    

Avatar
Discard
Best Answer

Untested

Jinja: ${object.env['ir.config_parameter'].get_param( "chillafish.database.name") } (where object is a record)

qweb: <t t-esc='object.env['ir.config_parameter'].get_param( "chillafish.database.name") ' />


KR

Avatar
Discard
Related Posts Replies Views Activity
0
Aug 22
1896
1
Sep 21
2854
7
Oct 19
12615
0
Apr 20
2366
2
Dec 24
87