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

Hi,

Am using Odoo 10.
My content is dynamic. ie.  Order Item line can grow from 1 to 13 items
How do you print the username(login),  Memo(for additional delivery instruction) and summary totals

in a fix area just above the footer?  

Your help will be greatly appreciated.
regards,

Gain

Odoo Stud
 


頭像
捨棄

<span t-field="o.user.name"/>

最佳答案

do you mean in qweb report then use

<span t-esc="user.name" />

else you can access the user details from env, like self.env.user.name or request.env.user.name

for memo, which is accessible form object.note

put the code above footer call

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
5月 24
4319
2
6月 23
3011
2
8月 25
1367
0
7月 25
338
4
7月 25
2333