[FIX] stock: review some report layout
The 'table-responsive' class should not be used on <table/> elements directly (this is allowed by BS4 but this is not good practice to me). Closes https://github.com/odoo/odoo/pull/26148
This commit is contained in:
committed by
qsm-odoo
parent
ba8a52972a
commit
5caa9a46a0
@@ -57,12 +57,12 @@
|
||||
<div class="container o_stock_reports_page o_stock_reports_no_print">
|
||||
<span t-if="lines" class="o_report_heading text-left"><h1>Traceability Report</h1></span>
|
||||
<span><t t-esc="context"/></span>
|
||||
<div class="o_stock_reports_table">
|
||||
<div class="o_stock_reports_table table-responsive">
|
||||
<t t-if="not lines">
|
||||
<span class="text-center"><h1>No operation made on this lot.</h1></span>
|
||||
</t>
|
||||
<t t-if="lines">
|
||||
<table width='100%' class="table-responsive">
|
||||
<table width='100%' class="table">
|
||||
<thead>
|
||||
<tr class="o_report_header">
|
||||
<th class="o_report_line_header">Reference</th>
|
||||
@@ -101,7 +101,7 @@
|
||||
<div class="container o_stock_reports_page o_stock_reports_no_print">
|
||||
<span class="text-left"><h3>Traceability Report</h3></span>
|
||||
<div class="table-responsive">
|
||||
<table width='100%' class="o_stock_reports_table">
|
||||
<table width='100%' class="o_stock_reports_table table">
|
||||
<thead>
|
||||
<tr class="o_report_header">
|
||||
<th class="o_report_line_header">Reference</th>
|
||||
|
||||
Reference in New Issue
Block a user