跳至内容
菜单
此问题已终结
1 回复
5598 查看

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" />

形象
丢弃