Skip to content
Snippets Groups Projects
Commit d8bfae0a 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#50250

X-original-commit: e4b0040a
Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent b9d6b548
Branches
Tags
No related merge requests found
......@@ -129,7 +129,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.
Please register or to comment