跳至內容
選單
此問題已被標幟
1 回覆
10864 瀏覽次數

I have a field that store a url calle e_link_full but if I put

<a t-attf-href="line.product_template_id.e_link_full">
this copy text not value stored

thanks for your answers

頭像
捨棄
最佳答案

< a t-attf-href = " # {line.product_template_id.e_link_full}" > Text to display</a>

頭像
捨棄

I am not sure whether there's a change, but the single pair of '{' and '}' is not working in Odoo 16 that I am using, however it should be double pair, which is '{{' and '}}'

相關帖文 回覆 瀏覽次數 活動
1
4月 25
1216
2
3月 25
1362
4
11月 24
7084
1
3月 24
1999
3
9月 23
24813