I have created this table in my Qweb report and as you can see this table has borders. But how can I remove border for <tfoot element only? It should be bordered on <thead and <tbody. Do I need to do it with custom CSS somehow?
<table style="border-color:grey;" class="table-bordered table-sm o_main_table" name="moves_table"> <thead> <tr> <th>No</th> <th>Description</th> <th class="text-center">Code</th> <th class="text-right">Units</th> <th class="text-right">Quantity</th> <th class="text-right">Package quantity</th> <th class="text-right">Net weight (kg)</th> <th class="text-right">Weight incl. packaging</th> <th class="text-right">Type of package</th> </tr> </thead> <tbody class="invoice_tbody"> <tr t-foreach="o.move_ids_without_package" t-as="l"> <td class="text-center"> <span t-esc="l_index + 1" /> </td> <td> <span t-field="l.name"/> </td> <td> <span t-field="l.product_id.default_code"/> </td> <td class="text-right"> <span t-field="l.product_uom.name"/> </td> <td class="text-right"> <span t-esc="'%.2f'%(l.product_uom_qty)"/> </td> <td class="text-right"> <span t-esc="'%.2f'%(l.product_uom_qty)"/> </td> <td class="text-right"> <span t-esc="'%.2f'%(l.product_uom_qty)"/> </td> <td class="text-right"> <span t-esc="'%.2f'%(l.product_uom_qty)"/> </td> <td class="text-right"> <span t-esc="'%.2f'%(l.product_uom_qty)"/> </td> </tr> </tbody> <tfoot> <tr> <td></td> <td></td> <td></td> <td class="text-right"><span><strong>Total amount</strong></span></td> <td class="text-right"><span t-esc="sum(o.move_ids_without_package.mapped('product_uom_qty'))"/></td> <td class="text-right"><span t-esc="sum(o.move_ids_without_package.mapped('product_uom_qty'))"/></td> <td class="text-right"><span t-esc="sum(o.move_ids_without_package.mapped('product_uom_qty'))"/></td> <td class="text-right"><span t-esc="sum(o.move_ids_without_package.mapped('product_uom_qty'))"/></td> </tr> <tr> <td></td> <td></td> <td></td> <td class="text-right"><span><strong>Total Weight</strong></span></td> <td></td> <td></td> <td></td> <td class="text-right"><span t-esc="sum(o.move_ids_without_package.mapped('product_uom_qty'))"/></td> </tr> </tfoot> </table>