Advertisement
rht_odoo

web_studio.report_editor_customization_diff.view._purchase.report_purchaseorder_document

Jan 6th, 2025 (edited)
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.98 KB | None | 0 0
  1. <data>
  2.   <data>
  3.     <xpath position="replace" expr="/t[@t-name='purchase.report_purchaseorder_document']//t[@t-call='web.external_layout']//t[@t-set='address']/div[@t-field='o.partner_id']" meta-t-field="o.partner_id" meta-t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;, &quot;vat&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}"/>
  4.     <xpath position="inside" expr="/t[@t-name='purchase.report_purchaseorder_document']//t[@t-call='web.external_layout']//t[@t-set='address']" meta-t-set="address">
  5.       <div t-field="o.partner_id" t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;vat&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}"/>
  6.     </xpath>
  7.   </data>
  8.   <data>
  9.     <xpath position="replace" expr="/t[@t-name='purchase.report_purchaseorder_document']//t[@t-call='web.external_layout']/t[3]/t[@t-set='information_block']/div/div[@name='purchase_shipping_address']" meta-t-field="o.dest_address_id" meta-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}" meta-name="purchase_shipping_address"/>
  10.     <xpath position="inside" expr="/t[@t-name='purchase.report_purchaseorder_document']//t[@t-call='web.external_layout']/t[3]/t[@t-set='information_block']/div" meta-t-if="o.dest_address_id">
  11.       <div t-field="o.dest_address_id" t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}" name="purchase_shipping_address"/>
  12.     </xpath>
  13.   </data>
  14.   <data>
  15.     <xpath position="replace" expr="/t[@t-name='purchase.report_purchaseorder_document']//t[@t-call='web.external_layout']/div/div" meta-class="oe_structure"/>
  16.     <xpath position="before" expr="/t[@t-name='purchase.report_purchaseorder_document']//t[@t-call='web.external_layout']/div/div" meta-class="mt-4">
  17.       <div class="oe_structure">Opening hours for delivery : 09h30 - 12h30 / 14h00 - 17h00</div>
  18.     </xpath>
  19.     <xpath position="after" expr="/t[@t-name='purchase.report_purchaseorder_document']//t[@t-call='web.external_layout']/div/div[@id='total']" meta-id="total" meta-class="row justify-content-end mt-n3">
  20.       <br/>
  21.       Any partial delivery and/or invoicing without our prior written consent will be systematically refused.
  22.       <br/>
  23.     </xpath>
  24.   </data>
  25.   <data>
  26.     <xpath position="replace" expr="/t[@t-name='purchase.report_purchaseorder_document']//t[@t-call='web.external_layout']//div[@id='informations']/div" meta-t-if="o.user_id" meta-class="col"/>
  27.     <xpath position="replace" expr="/t[@t-name='purchase.report_purchaseorder_document']//t[@t-call='web.external_layout']//div[@id='informations']/div[4]" meta-t-if="o.date_planned" meta-class="col-2 bm-2"/>
  28.   </data>
  29. </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement