<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <template id="report_delivery_document_comments"
      inherit_id="stock.report_delivery_document">
      <xpath expr="//table[hasclass('table-sm')]" position="before">
        <p t-if="o.note1">
          <span t-field="o.note1"/>
        </p>
      </xpath>
      <xpath expr="(//p)[position()=last()]" position="after">
        <p t-if="o.note2">
          <span t-field="o.note2"/>
        </p>
      </xpath>
    </template>

</odoo>
