I have searched all possible sites about this issue , the printed reports are poor in quality , also I tried to edit the DPI value in the paper format section with no luck .
Can any one tell me how to increase the resolution.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I have searched all possible sites about this issue , the printed reports are poor in quality , also I tried to edit the DPI value in the paper format section with no luck .
Can any one tell me how to increase the resolution.
Excuse ME Mr. Hilar , can you explain more
Here is the content of the report.less file , nothing appears wrong
html, body {
height: 100%;
}
body {
color: #000 !important;
word-wrap: break-word;
}
.border-black td {
border-top: 1px solid black !important;
}
/* See https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1524 */
.table-condensed {
> thead > tr > th {
border-bottom: none !important;
}
> tbody > tr {
page-break-inside: avoid !important;
border-top: none !important;
}
}
.zero_min_height {
min-height: 0px !important;
}
/* To avoid broken snippets in report rendering */
.jumbotron, .panel, .carousel, section{
page-break-inside: avoid;
}
/* Wkhtmltopdf doesn't support very well the media-print CSS (depends on the version) */
.hidden-print{
display: none;
}
/odoo/addons/report/static/src/less/report.less this is the file where report styles are kept, have a look
Thank You again Mr. Hilar
Here is the content of the report.less file , nothing appears wrong
html, body {
height: 100%;
}
body {
color: #000 !important;
word-wrap: break-word;
}
.border-black td {
border-top: 1px solid black !important;
}
/* See https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1524 */
.table-condensed {
> thead > tr > th {
border-bottom: none !important;
}
> tbody > tr {
page-break-inside: avoid !important;
border-top: none !important;
}
}
.zero_min_height {
min-height: 0px !important;
}
/* To avoid broken snippets in report rendering */
.jumbotron, .panel, .carousel, section{
page-break-inside: avoid;
}
/* Wkhtmltopdf doesn't support very well the media-print CSS (depends on the version) */
.hidden-print{
display: none;
}
The report template is styled in odoo, you can have a try to change by inheriting the report css.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 8 25
|
652 | ||
|
1
thg 4 25
|
1621 | ||
|
1
thg 9 24
|
2319 | ||
|
1
thg 7 24
|
2075 | ||
|
1
thg 5 24
|
4550 |