Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4719 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити
Автор

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

Автор

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

Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лист. 17
3457
0
жовт. 15
4233
0
лип. 25
354
2
черв. 25
1237
1
трав. 25
1278