diff options
| author | William Henrotin <whe@odoo.com> | 2020-02-13 14:51:55 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2020-02-13 16:53:36 +0000 |
| commit | a88e8100b2928c0aef38bb238586647b26dc53b7 (patch) | |
| tree | c91e366200f19f02f3361ad2c3508421296cdba9 /addons/stock | |
| parent | 72489822801162ea6c5bcb14337478a147ad8a5d (diff) | |
[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>
Diffstat (limited to 'addons/stock')
| -rw-r--r-- | addons/stock/report/report_location_barcode.xml | 6 | ||||
| -rw-r--r-- | addons/stock/static/src/scss/report_location_barcode.scss | 26 |
2 files changed, 0 insertions, 32 deletions
diff --git a/addons/stock/report/report_location_barcode.xml b/addons/stock/report/report_location_barcode.xml index b706e4fae53..10f22bacfcd 100644 --- a/addons/stock/report/report_location_barcode.xml +++ b/addons/stock/report/report_location_barcode.xml @@ -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"> diff --git a/addons/stock/static/src/scss/report_location_barcode.scss b/addons/stock/static/src/scss/report_location_barcode.scss deleted file mode 100644 index 07d9dcce84a..00000000000 --- a/addons/stock/static/src/scss/report_location_barcode.scss +++ /dev/null @@ -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%; - } -} |
