[REM] stock: remove unecessary assets
Since 94a3919, the report_location_barcode.scss asset is never loaded.
The report_stock_rule has the same template id than the report_location_barcode
one. This later is so always overridden.
This commit delete the barcode location css as it was not really usefull
closes odoo/odoo#45340
X-original-commit: 9b610d066d25007561ac469f7caf5919c0aa4092
Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
This commit is contained in:
@@ -2,12 +2,6 @@
|
||||
<odoo>
|
||||
<data>
|
||||
|
||||
<template id="assets_common" name="stock_location_barcodes pdf assets" inherit_id="web.report_assets_common">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet" type="text/scss" href="/stock/static/src/scss/report_location_barcode.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="report_location_barcode">
|
||||
<t t-call="web.html_container">
|
||||
<div t-foreach="[[docs[x:x+2], docs[x+2:x+4]] for x in range(0, len(docs), 4)]" t-as="page_docs" class="page article page_stock_location_barcodes">
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
.page_stock_location_barcodes {
|
||||
.barcode {
|
||||
position: absolute;
|
||||
-webkit-transform: rotate(90deg);
|
||||
width: 300px;
|
||||
margin-left: -150px;
|
||||
height: 50px;
|
||||
margin-top: -25px;
|
||||
}
|
||||
.barcode:nth-child(1) {
|
||||
top: 47mm;
|
||||
left: 75%;
|
||||
}
|
||||
.barcode:nth-child(2) {
|
||||
top: 161mm;
|
||||
left: 75%;
|
||||
}
|
||||
.barcode:nth-child(3) {
|
||||
top: 47mm;
|
||||
left: 25%;
|
||||
}
|
||||
.barcode:nth-child(4) {
|
||||
top: 161mm;
|
||||
left: 25%;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user