Hi,
I need to print barcode in delivery slip while validating the delivery. Please give a solution for this
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I need to print barcode in delivery slip while validating the delivery. Please give a solution for this
Hi,
By default we have the barcode in the picking operations report
So you can xpath the same in the template of delivery slip report
for example you can try the code below
<template
id="report_delivery_document_extends_add_barcode_in_report"
inherit_id="stock.report_delivery_document">
<xpath expr="//h2" position="before">
<div class="row justify-content-end mb16">
<div class="col-4" name="right_box">
<img
t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', o.name, 600, 100)"
style="width:300px;height:50px;" alt="Barcode" />
</div>
</div>
</xpath>
</template>
Regards
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up