Skip to Content
Menu
This question has been flagged
2 Replies
4657 Rodiniai

Hello,


I want to get the individual fields in the delivery slip specifically quantity, uom and product. How do I break it down when the code is like this?


<t t-set="aggregated_lines" t-value="o.move_line_ids._get_aggregated_product_quantities()"/>

                                        <t t-call="stock.stock_report_delivery_aggregated_move_lines"/

Portretas
Atmesti
Best Answer

You should check the origin stock.stock_report_delivery_aggregated_move_lines template, there, you will see the fields and know which fields to get.

Portretas
Atmesti
Autorius

Where can i find it please? I'm using saas

Autorius

nevermind, i found by searching in the external identifiers :) thank you!

Best Answer

Hi, 

    I guess you need to iterate through the one2many in qweb,

Check this https://www.odoo.com/forum/help-1/how-do-you-use-variables-in-a-qweb-loop-67687

Hope it helps.

Thanks

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
lapkr. 17
3415
0
spal. 15
4192
0
liep. 25
354
2
birž. 25
710
1
geg. 25
818