Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4856 Lượt xem

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
 


Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 24
4312
2
thg 6 23
3000
2
thg 8 25
1363
0
thg 7 25
331
4
thg 7 25
2311