コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6337 ビュー

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    

アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
0
8月 22
2507
1
9月 21
3508
1
4月 25
304
7
10月 19
13072
0
4月 20
2828