Advertisement
rht_odoo

web_studio.report_editor_customization_diff.view._stock.report_delivery_document

Jan 6th, 2025 (edited)
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.23 KB | None | 0 0
  1. <data>
  2.     <data>
  3.         <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()"/>
  4.         <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">
  5.             <div name="outgoing_delivery_address" t-if="o.should_print_delivery_address()">
  6.                 <div t-field="o.move_ids[0].partner_id" t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}"/></div>
  7.         </xpath>
  8.     </data>
  9.     <data>
  10.         <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"/>
  11.     </data>
  12.     <data>
  13.         <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">
  14.             <attribute name="t-options">{"widget": "date"}</attribute>
  15.         </xpath>
  16.     </data>
  17.     <data>
  18.         <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">
  19.             <attribute name="t-options">{"widget": "date"}</attribute>
  20.         </xpath>
  21.     </data>
  22. </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement