|
4 | 4 | ~ License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
5 | 5 | -->
|
6 | 6 | <odoo>
|
7 |
| - |
8 | 7 | <template id="template_financial_statements_report">
|
9 | 8 | <div class="o_account_financial_reports_page">
|
10 | 9 | <t t-call="account_financial_report.report_buttons" />
|
|
141 | 140 | <div class="act_as_row">
|
142 | 141 | <div class="act_as_cell" style="width: 25%;">
|
143 | 142 | From: <span
|
144 |
| - t-esc="date_from" |
145 |
| - t-options="{'widget': 'date'}" |
146 |
| - /> To: <span t-esc="date_to" t-options="{'widget': 'date'}" /> |
| 143 | + t-esc="date_from" |
| 144 | + t-options="{'widget': 'date'}" |
| 145 | + /> To: <span t-esc="date_to" t-options="{'widget': 'date'}" /> |
147 | 146 | </div>
|
148 | 147 | <div class="act_as_cell" style="width: 25%;">
|
149 | 148 | <t t-if="only_posted_moves">All posted entries</t>
|
|
220 | 219 | <t
|
221 | 220 | t-att-style="style"
|
222 | 221 | t-out="accounts_data[account_id]['code']"
|
223 |
| - /></a> |
| 222 | + /> |
| 223 | + </a> |
224 | 224 | </span>
|
225 | 225 | </t>
|
226 | 226 | <t t-elif="group_id">
|
|
232 | 232 | t-att-style="style"
|
233 | 233 | view-type="form"
|
234 | 234 | >
|
235 |
| - <t |
236 |
| - t-att-style="style" |
237 |
| - t-out="line.get('complete_code')" |
238 |
| - /></a> |
| 235 | + <t t-att-style="style" t-out="line.get('complete_code')" /> |
| 236 | + </a> |
239 | 237 | </span>
|
240 | 238 | </t>
|
241 | 239 | </div>
|
|
253 | 251 | <t
|
254 | 252 | t-att-style="style"
|
255 | 253 | t-out="accounts_data[account_id]['name']"
|
256 |
| - /></a> |
| 254 | + /> |
| 255 | + </a> |
257 | 256 | </span>
|
258 | 257 | </t>
|
259 | 258 | <t t-elif="group_id">
|
|
265 | 264 | t-att-style="style"
|
266 | 265 | view-type="form"
|
267 | 266 | >
|
268 |
| - <t t-att-style="style" t-out="line.get('name')" /></a> |
| 267 | + <t t-att-style="style" t-out="line.get('name')" /> |
| 268 | + </a> |
269 | 269 | </span>
|
270 | 270 | </t>
|
271 | 271 | </div>
|
|
285 | 285 | class="o_account_financial_reports_web_action_monetary_multi"
|
286 | 286 | t-att-style="style"
|
287 | 287 | >
|
288 |
| - <t |
| 288 | + <t |
289 | 289 | t-att-style="style"
|
290 | 290 | t-out="line.get('ending_balance')"
|
291 | 291 | t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
292 |
| - /></a> |
| 292 | + /> |
| 293 | + </a> |
293 | 294 | </span>
|
294 | 295 | </t>
|
295 | 296 | <t t-elif="line.get('group_id')">
|
|
306 | 307 | class="o_account_financial_reports_web_action_monetary_multi"
|
307 | 308 | t-att-style="style"
|
308 | 309 | >
|
309 |
| - <t |
| 310 | + <t |
310 | 311 | t-att-style="style"
|
311 | 312 | t-out="line.get('ending_balance')"
|
312 | 313 | t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
313 |
| - /></a> |
| 314 | + /> |
| 315 | + </a> |
314 | 316 | </span>
|
315 | 317 | </t>
|
316 | 318 | </div>
|
|
341 | 343 | class="o_account_financial_reports_web_action_monetary_multi"
|
342 | 344 | t-att-style="style"
|
343 | 345 | >
|
344 |
| - <t |
| 346 | + <t |
345 | 347 | t-att-style="style"
|
346 | 348 | t-out="line.get('ending_currency_balance')"
|
347 | 349 | t-options="{'widget': 'monetary', 'display_currency': currency}"
|
348 |
| - /></a> |
| 350 | + /> |
| 351 | + </a> |
349 | 352 | </span>
|
350 | 353 | </t>
|
351 | 354 | <t t-elif="line.get('group_id')">
|
|
362 | 365 | class="o_account_financial_reports_web_action_monetary_multi"
|
363 | 366 | t-att-style="style"
|
364 | 367 | >
|
365 |
| - <t |
| 368 | + <t |
366 | 369 | t-att-style="style"
|
367 | 370 | t-out="line.get('ending_currency_balance')"
|
368 | 371 | t-options="{'widget': 'monetary', 'display_currency': currency}"
|
369 |
| - /></a> |
| 372 | + /> |
| 373 | + </a> |
370 | 374 | </span>
|
371 | 375 | </t>
|
372 | 376 | </div>
|
|
508 | 512 | style="font-size: 14px; margin-right: 4px; text-align: right; font-weight: bold;"
|
509 | 513 | >
|
510 | 514 | <span t-esc="left_col_name" /> BALANCE: <t
|
511 |
| - t-out="total_debit" |
512 |
| - t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" |
513 |
| - /> |
| 515 | + t-out="total_debit" |
| 516 | + t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" |
| 517 | + /> |
514 | 518 | </span>
|
515 | 519 | </div>
|
516 | 520 | <!-- Display total credit -->
|
|
519 | 523 | style="font-size: 14px; margin-right: 4px; text-align: right; font-weight: bold;"
|
520 | 524 | >
|
521 | 525 | <span t-esc="right_col_name" /> BALANCE: <t
|
522 |
| - t-out="total_credit" |
523 |
| - t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" |
524 |
| - /> |
| 526 | + t-out="total_credit" |
| 527 | + t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" |
| 528 | + /> |
525 | 529 | </span>
|
526 | 530 | </div>
|
527 | 531 | </div>
|
|
535 | 539 | style="font-size: 14px; margin-right: 4px; text-align: right; font-weight: bold;"
|
536 | 540 | >
|
537 | 541 | SURPLUS: <t
|
538 |
| - t-out="total_balance" |
539 |
| - t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" |
540 |
| - /> |
| 542 | + t-out="total_balance" |
| 543 | + t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" |
| 544 | + /> |
541 | 545 | </span>
|
542 | 546 | </t>
|
543 | 547 | </div>
|
|
547 | 551 | style="font-size: 14px; margin-right: 4px; text-align: right; font-weight: bold;"
|
548 | 552 | >
|
549 | 553 | DEFICIT: <t
|
550 |
| - t-out="total_balance" |
551 |
| - t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" |
552 |
| - /> |
| 554 | + t-out="total_balance" |
| 555 | + t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}" |
| 556 | + /> |
553 | 557 | </span>
|
554 | 558 | </t>
|
555 | 559 | </div>
|
556 | 560 | </div>
|
557 | 561 | </div>
|
558 | 562 | </template>
|
559 |
| - |
560 | 563 | </odoo>
|
0 commit comments