odoo/ext/custom-addons/cam_testenv/views/cam_testenv.xml

43 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- vim:fdn=3:
-->
<openerp>
<data>
<template id="assets_backend" name="testenv_assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/cam_testenv/static/src/css/testenv.css"/>
<script type="text/javascript" src="/cam_testenv/static/src/js/testenv.js"></script>
</xpath>
</template>
<template id="report.style">
body {
color: #000 !important;
word-wrap: break-word;
}
.border-black td {
border-top: 1px solid black !important;
}
.table-condensed > thead > tr > th {
border-bottom: 1px solid black !important;
}
.table-condensed > tbody > tr {
page-break-inside: avoid !important;
}
.zero_min_height {
min-height: 0px !important;
}
<t t-if="testmode">
div.page {
background-image: url("/cam_testenv/static/src/img/print_test_n.svg") !important;
background-repeat: repeat-y;
background-size: contain;
background-position: center center;
min-height: 234mm;
}
</t>
</template>
</data>
</openerp>