Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

<td><span t-field="l.product_id.state" /> </td> Not Show

By
kitcle
on 1/28/15, 10:17 PM 662 views

How to show selection fields in QWeb report?

 <tr t-foreach="o.order_line" t-as="l">
      <td><span t-field="l.product_id.state" /> </td>

0
Shawn Varghese
On 1/29/15, 12:11 AM

It seems you are looping over sale_order_line. There is a 'state' field in this table. So if the state is what you want to show, you should try:

<span t-field="l.state" />

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 1/28/15, 10:17 PM
Seen: 662 times
Last updated: 3/16/15, 8:10 AM