diff options
| -rw-r--r-- | fixco_custom/views/report_picking_list_new.xml | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/fixco_custom/views/report_picking_list_new.xml b/fixco_custom/views/report_picking_list_new.xml index a91be31..448ca97 100644 --- a/fixco_custom/views/report_picking_list_new.xml +++ b/fixco_custom/views/report_picking_list_new.xml @@ -47,6 +47,25 @@ tfoot { display: table-footer-group; } + .page { + position: relative; + min-height: 100vh; + } + + .duplicate-watermark { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%) rotate(-30deg); + opacity: 0.15; + z-index: 0; + pointer-events: none; + } + + .duplicate-watermark img { + width: 400px; + } + </style> <t t-foreach="docs" t-as="o"> @@ -61,25 +80,13 @@ <div style="text-align: center; margin-bottom: 15px;"> <!-- Barcode --> <div style="text-center: center; margin-bottom: 10px;"> - <img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('QR', o.name, 100, 100)" + <img t-att-src="'https://xpanel.fixcomart.com/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('QR', o.name, 100, 100)" style="width:250px;height:250px;" alt="QR Code"/> </div> <t t-if="was_printed_map.get(o.id)"> - <div style=" - position: absolute; - left: 25%; - right: 150%; - bottom: 500%; - top: 30%; - width: 500px; - height: 500px; - transform: translate(-50%, -50%) rotate(-20deg); - opacity: 0.50; - z-index: 9999; - pointer-events: none; - "> - <img t-att-src="duplicate_stamp" style="width:50%; height:50%;" /> - </div> + <div class="duplicate-watermark"> + <img t-att-src="duplicate_stamp"/> + </div> </t> <h1 style="margin: 0; font-size: 24px; font-weight: bold;" t-field="o.name"/> <div style="font-size: 18px; font-weight: bold; margin-top: 5px;"> |
