Skip to content
Snippets Groups Projects
Commit 2c954d65 authored by Marco Folco's avatar Marco Folco
Browse files

Merge branch 'SOF-90-Quitar_cantidad_prestaciones' into '12.0-stage'

[MOD] pre invoice report

See merge request !56
parents a6ad0f66 9bad8c86
No related branches found
No related tags found
1 merge request!56[MOD] pre invoice report
......@@ -16,7 +16,7 @@ class ReportPreInvoice(models.AbstractModel):
medical_benefit mb ON ail.benefit_id = mb.id
WHERE ail.invoice_id = %s
GROUP BY rp.id,rp.display_name
ORDER BY rp.display_name DESC""", [invoice_id]
ORDER BY rp.ref ASC""", [invoice_id]
)
records = []
for l in self._cr.fetchall():
......
......@@ -7,8 +7,8 @@
<div style="text-align:left;color:black!important;"><strong><h1>Pre Invoice report</h1></strong></div><br/>
<table class="table table-sm o_main_table" style="table-layout:fixed;">
<tr>
<td>Professional</td>
<td>Amount of benefits</td>
<td>Professional</td>
<td>Price Total</td>
</tr>
<t t-foreach="records" t-as="record">
......
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