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

How can I insert a value in the context inside a qweb template in odoo 10?

I tried with

     <t t-set = "doc" t-value = "doc.with_context (sale_proforma = True)" />

but it does not work.... 

Thank you.  

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Please refer reports documentation 

https://www.odoo.com/documentation/10.0/reference/reports.html


search for context you will get

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