Odoo Help

0

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

By
kitcle
on 1/28/15, 10:17 PM 829 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" />

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

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