[FIX] pos_sale: no need for the payment_communication override

Since pos is now using the invoice with payments, there is no need
for this communication override.

Part-of: odoo/odoo#77903
This commit is contained in:
Joseph Caburnay
2021-10-06 10:27:02 +00:00
committed by Pierre Masereel
parent 62afea87b4
commit 9c7cda274b
@@ -25,12 +25,5 @@
</div>
</t>
</xpath>
<xpath expr="//p[@name='payment_communication']" position="replace">
<t t-if="not o.pos_order_ids">
<p t-if="o.move_type in ('out_invoice', 'in_refund') and o.payment_reference" name="payment_communication">
Please use the following communication for your payment : <b><span t-field="o.payment_reference"/></b>
</p>
</t>
</xpath>
</template>
</odoo>