Does anyone know how to modify barcode template via Qweb?
I found the barcode report template for master product named as report_producttemplatebarcode. When printing to pdf, the problem is it prints as the whole page and now i would like to change the size and table of it so hopefully it will match with the sticker when printing using our barcode printer. This code below is the default barcode template from report_producttemplatebarcode Qweb :
<?xml version="1.0"?>
<t t-name="product.report_producttemplatebarcode">
<t t-call="web.basic_layout">
<div class="page">
<t t-foreach="docs" t-as="template">
<t t-foreach="template.product_variant_ids" t-as="product">
<t t-call="product.report_simple_barcode">
<t t-set="product" t-value="product"/>
</t>
</t>
</t>
</div>
</t>
</t>
I previously add <style> but nothing works.
Please advice, thank you