Skip to content
Snippets Groups Projects
Commit 8d088931 authored by Hugo Adan's avatar Hugo Adan Committed by Nicolas Martinelli
Browse files

[FIX] web: incompatible blockquote css

- Add the following in a PDF report:
```html
<p>
    <blockquote>
        <ol class="loweralpha simple">
            <li>Item that explain terms</li>
            <li>Another item that explain something else</li>
        </ol>
    </blockquote>
</p>
```
- Print the report

Wkhtmltopdf crashes with the error:

Wkhtmltopdf failed (error code: -11). Memory limit too low or maximum
file number of subprocess reached. Message : b''.

This is a known issue:
https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4115



Actually, since this CSS is only used for Wkhtmltopdf reports, we can
simply remove the CSS rule causing the problem.

Closes #37034
Fixes #37033

opw-2073195

closes odoo/odoo#37136

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent 4b953544
No related branches found
No related tags found
No related merge requests found
......@@ -55,10 +55,6 @@ ul ul {
list-style: circle;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment