Skip to content

Commit

Permalink
[MIG] pos_report_session_summary: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zamberjo committed Jul 24, 2024
1 parent 38d3466 commit 1444855
Showing 1 changed file with 17 additions and 22 deletions.
39 changes: 17 additions & 22 deletions pos_report_session_summary/views/report_session_summary.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,59 +37,53 @@
<th>
<strong>Journal</strong>
</th>
<th class="text-right">
<th class="text-end">
<strong>Starting Balance</strong>
</th>
<th class="text-right">
<th class="text-end">
<strong>Total Transactions</strong>
</th>
<th class="text-right">
<th class="text-end">
<strong>Ending Balance</strong>
</th>
<th class="text-right">
<th class="text-end">
<strong>Difference</strong>
</th>
<th
class="text-right"
groups="base.group_multi_currency"
>
<th class="text-end" groups="base.group_multi_currency">
<strong>Currency</strong>
</th>
<th class="text-right">
<th class="text-end">
<strong>Status</strong>
</th>
</tr>
</thead>
<tbody>
<tr t-foreach="o.statement_ids" t-as="statement">
<tr t-foreach="o.statement_line_ids.mapped('statement_ids')" t-as="statement">
<td><span t-field="statement.name" /></td>
<td><span t-field="statement.journal_id" /></td>
<td class="text-right">
<td class="text-end">
<span t-field="statement.balance_start" />
</td>
<td class="text-right">
<td class="text-end">
<span t-field="statement.total_entry_encoding" />
</td>
<td class="text-right">
<td class="text-end">
<span t-field="statement.balance_end_real" />
</td>
<td class="text-right">
<td class="text-end">
<span t-field="statement.difference" />
</td>
<td
class="text-right"
groups="base.group_multi_currency"
>
<td class="text-end" groups="base.group_multi_currency">
<span t-field="statement.currency_id" />
</td>
<td class="text-right"><span
<td class="text-end"><span
t-field="statement.state"
/></td>
</tr>
</tbody>
</table>

<t t-foreach="o.statement_ids" t-as="statement">
<t t-foreach="o.statement_line_ids.mapped('statement_ids')" t-as="statement">
<h4 t-if="statement.line_ids">Statement Details: <span
t-out="statement.name"
/></h4>
Expand All @@ -104,8 +98,9 @@
<th>Description</th>
<th>Reference</th>
<th>Partner</th>
<th>Partner</th>
<th>Account</th>
<th class="text-right">Amount</th>
<th class="text-end">Amount</th>
</tr>
</thead>
<tbody>
Expand All @@ -130,7 +125,7 @@
t-if="'account_id' in line"
t-field="line.account_id"
/></td>
<td class="text-right">
<td class="text-end">
<span t-field="line.amount" />
</td>
</tr>
Expand Down

0 comments on commit 1444855

Please sign in to comment.