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>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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>
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" />
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.