Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <data>
- <data>
- <xpath position="replace" expr="/t[@t-name='stock.report_delivery_document']//t[@t-call='web.html_container']//t[@t-call='web.external_layout']//t[@t-set='address']//div[@name='div_outgoing_address']/div[@name='outgoing_delivery_address']" meta-name="outgoing_delivery_address" meta-t-if="o.should_print_delivery_address()"/>
- <xpath position="before" expr="/t[@t-name='stock.report_delivery_document']//t[@t-call='web.html_container']//t[@t-call='web.external_layout']//t[@t-set='address']//div[@name='div_outgoing_address']/div[@name='outgoing_warehouse_address']" meta-name="outgoing_warehouse_address" meta-t-elif="o.picking_type_id.code != 'internal' and o.picking_type_id.warehouse_id.partner_id">
- <div name="outgoing_delivery_address" t-if="o.should_print_delivery_address()">
- <div t-field="o.move_ids[0].partner_id" t-options="{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True, "phone_icons": True}"/></div>
- </xpath>
- </data>
- <data>
- <xpath position="replace" expr="/t[@t-name='stock.report_delivery_document']//t[@t-call='web.html_container']//t[@t-call='web.external_layout']//t[@t-set='information_block']//div[@name='div_incoming_address']/div[@name='customer_address']" meta-name="customer_address" meta-t-if="o.picking_type_id.code=='outgoing' and partner and partner != partner.commercial_partner_id"/>
- </data>
- <data>
- <xpath position="attributes" expr="/t[@t-name='stock.report_delivery_document']//t[@t-call='web.html_container']//t[@t-call='web.external_layout']//div[@t-field='o.date_done']" meta-t-if="o.state == 'done'" meta-t-field="o.date_done" meta-class="m-0">
- <attribute name="t-options">{"widget": "date"}</attribute>
- </xpath>
- </data>
- <data>
- <xpath position="attributes" expr="/t[@t-name='stock.report_delivery_document']//t[@t-call='web.html_container']//t[@t-call='web.external_layout']//div[@t-field='o.scheduled_date']" meta-t-else="" meta-t-field="o.scheduled_date" meta-class="m-0">
- <attribute name="t-options">{"widget": "date"}</attribute>
- </xpath>
- </data>
- </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement