Skip to content
Snippets Groups Projects
Commit d462f13e authored by Nasreddin Boulif (bon)'s avatar Nasreddin Boulif (bon)
Browse files

[FIX] web: Display properly company phone in report

Steps to reproduce :

  - Install Sales
  - Modify the report, use the theme "Clean" and the font "Open Sans"
  - Modify the company phone to: +41 26 322 01 02
  - Print a quotation

Issue :

  Company phone is on 2 lines

Cause :

  CSS issue with wkhtmltopdf.

Solution :

  Replace CSS display value `inline-block` by `inline`.

ref commit: https://github.com/odoo/odoo/commit/5b022f433a44e627541d30ae21d7a867f4a3a6ff


opw-2567836

closes odoo/odoo#75515

Signed-off-by: default avatarbon-odoo <nboulif@users.noreply.github.com>
parent 90b77d9e
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ body {
}
span.o_force_ltr {
display: inline-block;
display: inline;
}
.o_force_ltr, .o_field_phone {
unicode-bidi: embed; // ensure element has level of embedding for direction
......
......@@ -105,7 +105,7 @@
}
span.o_force_ltr {
display: inline-block;
display: inline;
}
.o_force_ltr, .o_field_phone {
unicode-bidi: embed; // ensure element has level of embedding for direction
......
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