Odoo Help

2

0
2 Answers
0
Avatar

Jusab Sida (jsi) India

--Jusab Sida (jsi)--
1536
| 2 3 7
Gandhinagar, India
--Jusab Sida (jsi)--


Jusab Sida (jsi) India
8/23/17, 3:02 AM

[Question is too old but this is just for reference :)]

You can achieve this by adding <img> in report. like

<td height="80" width="80">
    <img t-if="move.product_id.image" t-att-src="'data:image/png;base64,%s' % move.product_id.image" width="75" height="75"/>
</td>

Here, you have to manage/add above <td> in both table.

1) <table class="table table-condensed mt48" t-if="not o.pack_operation_ids">...</table>

         (Above example will work in this table)

2)<table class="table table-condensed mt48" t-if="o.pack_operation_ids">...</table>

        (You need to change 'move' to 'pack_operation')


Enjoy,

Ask a Question
Writer
Keep Informed
2 follower(s)
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