Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3340 Представления

I am struggling to understand what picking OUT report uses as addresses here. I would like to include the warehouse address were items are dispatched from, but I am not sure how to incorporate it and I do not fully understand what conditions are being tested:

<div class="col-xs-6">                                                                                    <div t-if="o.move_lines and o.move_lines[0].partner_id and o.move_lines[0].partner_id.id != o.partner_id.id">
        <span><strong>Dirección de entrega:</strong></span>
<div t-field="o.move_lines[0].partner_id" t-field-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;, &quot;fax&quot;], &quot;no_marker&quot;: true}"/>
   </div>      <div t-if="o.picking_type_id.code != 'internal' and (not o.move_lines or not o.move_lines[0].partner_id) and o.picking_type_id.warehouse_id.partner_id">
        <span><strong>Dirección de almacén:</strong></span>
<div t-field="o.picking_type_id.warehouse_id.partner_id" t-field-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;, &quot;fax&quot;], &quot;no_marker&quot;: true}"/>
</div>
</div>
</div>
Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
янв. 16
4553
1
окт. 15
7015
3
июл. 23
7107
6
окт. 18
7037
1
апр. 25
1384