Skip to content
Snippets Groups Projects
Commit e4b0040a authored by Commandant Custo's avatar Commandant Custo Committed by jerome hanke (jhk)
Browse files

[FIX] account: report_invoice styling issues in #total table


Steps to reproduce:
- install account
- print any invoice

Previous behavior:
the css rule and classes are ignored on the total table

Current behavior:
displays as intended

This PR fixes two issues:
1/ class attribute was not taken into account anymore ( table-sm )
2/ page-break-inside didn't work

closes #48682
opw-2229181

closes odoo/odoo#50235

Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent 5644eb33
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@
<div class="clearfix">
<div id="total" class="row">
<div t-attf-class="#{'col-4' if report_type != 'html' else 'col-sm-7 col-md-5'} ml-auto">
<table class="table table-sm;page-break-inside: avoid;">
<table class="table table-sm" style="page-break-inside: avoid;">
<tr class="border-black o_subtotal" style="">
<td><strong>Subtotal</strong></td>
<td class="text-right">
......
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