You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

700 lines
33 KiB

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <odoo>
  3. <template id="aged_partner_balance">
  4. <t t-call="web.html_container">
  5. <t t-foreach="docs" t-as="o">
  6. <t t-call="account_financial_report.internal_layout">
  7. <t
  8. t-call="account_financial_report.report_aged_partner_balance_base"
  9. />
  10. </t>
  11. </t>
  12. </t>
  13. </template>
  14. <template id="report_aged_partner_balance_base">
  15. <!-- Saved flag fields into variables, used to define columns display -->
  16. <t t-set="show_move_line_details" t-value="show_move_line_details" />
  17. <!-- Defines global variables used by internal layout -->
  18. <t t-set="title">Aged Partner Balance - <t t-raw="company_name" /> - <t
  19. t-raw="currency_name"
  20. /></t>
  21. <div class="page">
  22. <div class="row">
  23. <h4
  24. class="mt0"
  25. t-esc="title or 'Odoo Report'"
  26. style="text-align: center;"
  27. />
  28. </div>
  29. <!-- Display filters -->
  30. <t t-call="account_financial_report.report_aged_partner_balance_filters" />
  31. <t t-foreach="aged_partner_balance" t-as="account">
  32. <div class="page_break">
  33. <!-- Display account header -->
  34. <div class="act_as_table list_table" style="margin-top: 10px;" />
  35. <div class="act_as_caption account_title" style="width: 100%;">
  36. <span t-esc="account['code']" />
  37. -
  38. <span t-esc="account['name']" />
  39. </div>
  40. <!-- Display account lines -->
  41. <t t-if="not show_move_line_details">
  42. <div class="act_as_table data_table" style="width: 100%;">
  43. <!-- Display account header -->
  44. <t
  45. t-call="account_financial_report.report_aged_partner_balance_lines_header"
  46. />
  47. <t t-foreach="account['partners']" t-as="partner">
  48. <!-- Display one line per partner -->
  49. <t
  50. t-call="account_financial_report.report_aged_partner_balance_lines"
  51. />
  52. </t>
  53. </div>
  54. <!-- Display account footer -->
  55. <t
  56. t-call="account_financial_report.report_aged_partner_balance_account_ending_cumul"
  57. />
  58. </t>
  59. <!-- Display account move lines -->
  60. <t t-if="show_move_line_details">
  61. <!-- Display account partners -->
  62. <t t-foreach="account['partners']" t-as="partner">
  63. <div class="page_break">
  64. <!-- Display partner header -->
  65. <div class="act_as_caption account_title">
  66. <span t-esc="partner['name']" />
  67. </div>
  68. <!-- Display partner move lines -->
  69. <t
  70. t-call="account_financial_report.report_aged_partner_balance_move_lines"
  71. />
  72. <!-- Display partner footer -->
  73. <t
  74. t-call="account_financial_report.report_aged_partner_balance_partner_ending_cumul"
  75. >
  76. <t t-set="partner_cumul_line" t-value="partner" />
  77. </t>
  78. </div>
  79. </t>
  80. <!-- Display account footer -->
  81. <t
  82. t-call="account_financial_report.report_aged_partner_balance_account_ending_cumul"
  83. />
  84. </t>
  85. </div>
  86. </t>
  87. </div>
  88. </template>
  89. <template id="report_aged_partner_balance_filters">
  90. <div class="act_as_table data_table" style="width: 100%;">
  91. <div class="act_as_row labels">
  92. <div class="act_as_cell">Date at filter</div>
  93. <div class="act_as_cell">Target moves filter</div>
  94. </div>
  95. <div class="act_as_row">
  96. <div class="act_as_cell">
  97. <span t-esc="date_at" />
  98. </div>
  99. <div class="act_as_cell">
  100. <t t-if="only_posted_moves">All posted entries</t>
  101. <t t-if="not only_posted_moves">All entries</t>
  102. </div>
  103. </div>
  104. </div>
  105. </template>
  106. <template id="report_aged_partner_balance_lines_header">
  107. <!-- Display table headers for lines -->
  108. <div class="act_as_thead">
  109. <div class="act_as_row labels">
  110. <!--## partner-->
  111. <div class="act_as_cell" style="width: 32.52%;">Partner</div>
  112. <!--## amount_residual-->
  113. <div class="act_as_cell" style="width: 9.64%;">Residual</div>
  114. <!--## current-->
  115. <div class="act_as_cell" style="width: 9.64%;">Not due</div>
  116. <!--## age_30_days-->
  117. <div class="act_as_cell" style="width: 9.64%;">1 - 30 d.</div>
  118. <!--## age_60_days-->
  119. <div class="act_as_cell" style="width: 9.64%;">31 - 60 d.</div>
  120. <!--## age_90_days-->
  121. <div class="act_as_cell" style="width: 9.64%;">61 - 90 d.</div>
  122. <!--## age_120_days-->
  123. <div class="act_as_cell" style="width: 9.64%;">91 - 120 d.</div>
  124. <!--## older-->
  125. <div class="act_as_cell" style="width: 9.64%;"> > 120 d.</div>
  126. </div>
  127. </div>
  128. </template>
  129. <template id="report_aged_partner_balance_lines">
  130. <!-- Display each partner lines -->
  131. <div class="act_as_row lines">
  132. <!--## partner-->
  133. <div class="act_as_cell left">
  134. <span t-esc="partner['name']" />
  135. </div>
  136. <!--## amount_residual-->
  137. <div class="act_as_cell amount">
  138. <span
  139. t-esc="partner['residual']"
  140. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  141. />
  142. </div>
  143. <!--## current-->
  144. <div class="act_as_cell amount">
  145. <span
  146. t-esc="partner['current']"
  147. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  148. />
  149. </div>
  150. <!--## age_30_days-->
  151. <div class="act_as_cell amount">
  152. <span
  153. t-esc="partner['30_days']"
  154. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  155. />
  156. </div>
  157. <!--## age_60_days-->
  158. <div class="act_as_cell amount">
  159. <span
  160. t-esc="partner['60_days']"
  161. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  162. />
  163. </div>
  164. <!--## age_90_days-->
  165. <div class="act_as_cell amount">
  166. <span
  167. t-esc="partner['90_days']"
  168. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  169. />
  170. </div>
  171. <!--## age_120_days-->
  172. <div class="act_as_cell amount">
  173. <span
  174. t-esc="partner['120_days']"
  175. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  176. />
  177. </div>
  178. <!--## older-->
  179. <div class="act_as_cell amount">
  180. <span
  181. t-esc="partner['older']"
  182. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  183. />
  184. </div>
  185. </div>
  186. </template>
  187. <template id="report_aged_partner_balance_move_lines">
  188. <div class="act_as_table data_table" style="width: 100%;">
  189. <!-- Display table headers for move lines -->
  190. <div class="act_as_thead">
  191. <div class="act_as_row labels">
  192. <!--## date-->
  193. <div class="act_as_cell first_column" style="width: 6.00%;">
  194. Date</div>
  195. <!--## move-->
  196. <div class="act_as_cell" style="width: 7.00%;">Entry</div>
  197. <!--## journal-->
  198. <div class="act_as_cell" style="width: 5.00%;">Journal</div>
  199. <!--## account code-->
  200. <div class="act_as_cell" style="width: 6.00%;">Account</div>
  201. <!--## partner-->
  202. <div class="act_as_cell" style="width: 10.50%;">Partner
  203. </div>
  204. <!--## ref - label-->
  205. <div class="act_as_cell" style="width: 18.00%;">Ref -
  206. Label</div>
  207. <!--## date_due-->
  208. <div class="act_as_cell" style="width: 6.00%;">Due
  209. date</div>
  210. <!--## amount_residual-->
  211. <div class="act_as_cell" style="width: 6.00%;">Residual
  212. </div>
  213. <!--## current-->
  214. <div class="act_as_cell" style="width: 6.00%;">Current</div>
  215. <!--## age_30_days-->
  216. <div class="act_as_cell" style="width: 6.00%;">Age ≤ 30
  217. d.</div>
  218. <!--## age_60_days-->
  219. <div class="act_as_cell" style="width: 6.00%;">Age ≤ 60
  220. d.</div>
  221. <!--## age_90_days-->
  222. <div class="act_as_cell" style="width: 6.00%;">Age ≤ 90
  223. d.</div>
  224. <!--## age_120_days-->
  225. <div class="act_as_cell" style="width: 6.00%;">Age ≤ 120
  226. d.</div>
  227. <!--## older-->
  228. <div class="act_as_cell" style="width: 6.00%;">Older</div>
  229. </div>
  230. </div>
  231. <!-- Display each move lines -->
  232. <t t-foreach="partner['move_lines']" t-as="line">
  233. <!-- # lines or centralized lines -->
  234. <div class="act_as_row lines">
  235. <!--## date-->
  236. <div class="act_as_cell left">
  237. <span
  238. t-att-res-id="line.move_line_id.id"
  239. res-model="account.move.line"
  240. view-type="form"
  241. >
  242. <!--## We don't use t-field because it throws an error on click -->
  243. <t t-esc="line['date']" t-options="{'widget': 'date'}" />
  244. </span>
  245. </div>
  246. <!--## move-->
  247. <div class="act_as_cell left">
  248. <span
  249. t-att-res-id="line.move_line_id.move_id.id"
  250. res-model="account.move"
  251. view-type="form"
  252. >
  253. <t t-raw="line['entry']" />
  254. </span>
  255. </div>
  256. <!--## journal-->
  257. <div class="act_as_cell left">
  258. <span
  259. t-att-res-id="line.move_line_id.move_id.journal_id.id"
  260. res-model="account.journal"
  261. view-type="form"
  262. >
  263. <t t-raw="line['journal']" />
  264. </span>
  265. </div>
  266. <!--## account code-->
  267. <div class="act_as_cell left">
  268. <span
  269. t-att-res-id="line.move_line_id.account_id.id"
  270. res-model="account.account"
  271. view-type="form"
  272. >
  273. <t t-raw="line['account']" />
  274. </span>
  275. </div>
  276. <!--## partner-->
  277. <div class="act_as_cell left">
  278. <span
  279. t-att-res-id="line.move_line_id.partner_id.id"
  280. res-model="res.partner"
  281. view-type="form"
  282. >
  283. <t t-raw="line['partner']" />
  284. </span>
  285. </div>
  286. <!--## ref - label-->
  287. <div class="act_as_cell left">
  288. <span
  289. t-att-res-id="line.move_line_id.id"
  290. res-model="account.move.line"
  291. view-type="form"
  292. >
  293. <t t-raw="line['ref_label']" />
  294. </span>
  295. </div>
  296. <!--## date_due-->
  297. <div class="act_as_cell left">
  298. <span
  299. t-att-res-id="line.move_line_id.id"
  300. res-model="account.move.line"
  301. view-type="form"
  302. >
  303. <!--## We don't use t-field because it throws an error on click -->
  304. <t
  305. t-esc="line['due_date']"
  306. t-options="{'widget': 'date'}"
  307. />
  308. </span>
  309. </div>
  310. <!--## amount_residual-->
  311. <div class="act_as_cell amount">
  312. <span
  313. domain="[('id', 'in', (line.move_line_id | line.move_line_id.matched_debit_ids.mapped('debit_move_id') | line.move_line_id.matched_credit_ids.mapped('credit_move_id')).ids)]"
  314. res-model="account.move.line"
  315. >
  316. <t
  317. t-raw="line['residual']"
  318. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  319. />
  320. </span>
  321. </div>
  322. <!--## current-->
  323. <div class="act_as_cell amount">
  324. <t t-if="line.current == 0">
  325. <span
  326. t-field="line.current"
  327. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  328. />
  329. </t>
  330. <t t-else="">
  331. <span
  332. domain="[('id', 'in', (line.move_line_id | line.move_line_id.matched_debit_ids.mapped('debit_move_id') | line.move_line_id.matched_credit_ids.mapped('credit_move_id')).ids)]"
  333. res-model="account.move.line"
  334. >
  335. <t
  336. t-raw="line['current']"
  337. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  338. />
  339. </span>
  340. </t>
  341. </div>
  342. <!--## age_30_days-->
  343. <div class="act_as_cell amount">
  344. <t t-if="line.age_30_days == 0">
  345. <span
  346. t-field="line.age_30_days"
  347. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  348. />
  349. </t>
  350. <t t-else="">
  351. <span
  352. domain="[('id', 'in', (line.move_line_id | line.move_line_id.matched_debit_ids.mapped('debit_move_id') | line.move_line_id.matched_credit_ids.mapped('credit_move_id')).ids)]"
  353. res-model="account.move.line"
  354. >
  355. <t
  356. t-raw="line['30_days']"
  357. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  358. />
  359. </span>
  360. </t>
  361. </div>
  362. <!--## age_60_days-->
  363. <div class="act_as_cell amount">
  364. <t t-if="line.age_60_days == 0">
  365. <span
  366. t-field="line.age_60_days"
  367. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  368. />
  369. </t>
  370. <t t-else="">
  371. <span
  372. domain="[('id', 'in', (line.move_line_id | line.move_line_id.matched_debit_ids.mapped('debit_move_id') | line.move_line_id.matched_credit_ids.mapped('credit_move_id')).ids)]"
  373. res-model="account.move.line"
  374. >
  375. <t
  376. t-raw="line['60_days']"
  377. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  378. />
  379. </span>
  380. </t>
  381. </div>
  382. <!--## age_90_days-->
  383. <div class="act_as_cell amount">
  384. <t t-if="line.age_90_days == 0">
  385. <span
  386. t-field="line.age_90_days"
  387. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  388. />
  389. </t>
  390. <t t-else="">
  391. <span
  392. domain="[('id', 'in', (line.move_line_id | line.move_line_id.matched_debit_ids.mapped('debit_move_id') | line.move_line_id.matched_credit_ids.mapped('credit_move_id')).ids)]"
  393. res-model="account.move.line"
  394. >
  395. <t
  396. t-raw="line['90_days']"
  397. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  398. />
  399. </span>
  400. </t>
  401. </div>
  402. <!--## age_120_days-->
  403. <div class="act_as_cell amount">
  404. <t t-if="line.age_120_days == 0">
  405. <span
  406. t-field="line.age_120_days"
  407. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  408. />
  409. </t>
  410. <t t-else="">
  411. <span
  412. domain="[('id', 'in', (line.move_line_id | line.move_line_id.matched_debit_ids.mapped('debit_move_id') | line.move_line_id.matched_credit_ids.mapped('credit_move_id')).ids)]"
  413. res-model="account.move.line"
  414. >
  415. <t
  416. t-raw="line['120_days']"
  417. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  418. />
  419. </span>
  420. </t>
  421. </div>
  422. <!--## older-->
  423. <div class="act_as_cell amount">
  424. <t t-if="line.older == 0">
  425. <span
  426. t-field="line.older"
  427. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  428. />
  429. </t>
  430. <t t-else="">
  431. <span
  432. domain="[('id', 'in', (line.move_line_id | line.move_line_id.matched_debit_ids.mapped('debit_move_id') | line.move_line_id.matched_credit_ids.mapped('credit_move_id')).ids)]"
  433. res-model="account.move.line"
  434. >
  435. <t
  436. t-raw="line['older']"
  437. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  438. />
  439. </span>
  440. </t>
  441. </div>
  442. </div>
  443. </t>
  444. </div>
  445. </template>
  446. <template id="report_aged_partner_balance_partner_ending_cumul">
  447. <!-- Display ending balance line for partner -->
  448. <div class="act_as_table list_table" style="width: 100%;">
  449. <div class="act_as_row lines" style="font-weight: bold;">
  450. <!--## date-->
  451. <div class="act_as_cell right" style="width: 52.00%;">Partner
  452. cumul aged balance</div>
  453. <!--## date_due-->
  454. <div class="act_as_cell" style="width: 6.00%;" />
  455. <!--## amount_residual-->
  456. <div class="act_as_cell amount" style="width: 6.00%;">
  457. <span
  458. t-esc="partner_cumul_line['residual']"
  459. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  460. />
  461. </div>
  462. <!--## current-->
  463. <div class="act_as_cell amount" style="width: 6.00%;">
  464. <span
  465. t-esc="partner_cumul_line['current']"
  466. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  467. />
  468. </div>
  469. <!--## age_30_days-->
  470. <div class="act_as_cell amount" style="width: 6.00%;">
  471. <span
  472. t-esc="partner_cumul_line['30_days']"
  473. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  474. />
  475. </div>
  476. <!--## age_60_days-->
  477. <div class="act_as_cell amount" style="width: 6.00%;">
  478. <span
  479. t-esc="partner_cumul_line['60_days']"
  480. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  481. />
  482. </div>
  483. <!--## age_90_days-->
  484. <div class="act_as_cell amount" style="width: 6.00%;">
  485. <span
  486. t-esc="partner_cumul_line['90_days']"
  487. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  488. />
  489. </div>
  490. <!--## age_120_days-->
  491. <div class="act_as_cell amount" style="width: 6.00%;">
  492. <span
  493. t-esc="partner_cumul_line['120_days']"
  494. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  495. />
  496. </div>
  497. <!--## older-->
  498. <div class="act_as_cell amount" style="width: 6.00%;">
  499. <span
  500. t-esc="partner_cumul_line['older']"
  501. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  502. />
  503. </div>
  504. </div>
  505. </div>
  506. </template>
  507. <template id="report_aged_partner_balance_account_ending_cumul">
  508. <!-- Display ending balance line for account -->
  509. <div class="act_as_table list_table" style="width: 100%;">
  510. <div class="act_as_row lines" style="font-weight: bold;">
  511. <t t-if="not show_move_line_details">
  512. <!--## total-->
  513. <div class="act_as_cell right" style="width: 32.52%;">Total</div>
  514. <!--## amount_residual-->
  515. <div class="act_as_cell amount" style="width: 9.64%;">
  516. <span
  517. t-esc="account['residual']"
  518. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  519. />
  520. </div>
  521. <!--## current-->
  522. <div class="act_as_cell amount" style="width: 9.64%;">
  523. <span
  524. t-esc="account['current']"
  525. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  526. />
  527. </div>
  528. <!--## age_30_days-->
  529. <div class="act_as_cell amount" style="width: 9.64%;">
  530. <span
  531. t-esc="account['30_days']"
  532. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  533. />
  534. </div>
  535. <!--## age_60_days-->
  536. <div class="act_as_cell amount" style="width: 9.64%;">
  537. <span
  538. t-esc="account['60_days']"
  539. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  540. />
  541. </div>
  542. <!--## age_90_days-->
  543. <div class="act_as_cell amount" style="width: 9.64%;">
  544. <span
  545. t-esc="account['90_days']"
  546. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  547. />
  548. </div>
  549. <!--## age_120_days-->
  550. <div class="act_as_cell amount" style="width: 9.64%;">
  551. <span
  552. t-esc="account['120_days']"
  553. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  554. />
  555. </div>
  556. <!--## older-->
  557. <div class="act_as_cell amount" style="width: 9.64%;">
  558. <span
  559. t-esc="account['older']"
  560. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  561. />
  562. </div>
  563. </t>
  564. <t t-if="show_move_line_details">
  565. <!--## total-->
  566. <div class="act_as_cell right" style="width: 52.00%;">Total</div>
  567. <!--## date_due-->
  568. <div class="act_as_cell" style="width: 6.00%;" />
  569. <!--## amount_residual-->
  570. <div class="act_as_cell amount" style="width: 6.00%">
  571. <span
  572. t-esc="account['residual']"
  573. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  574. />
  575. </div>
  576. <!--## current-->
  577. <div class="act_as_cell amount" style="width: 6.00%">
  578. <span
  579. t-esc="account['current']"
  580. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  581. />
  582. </div>
  583. <!--## age_30_days-->
  584. <div class="act_as_cell amount" style="width: 6.00%">
  585. <span
  586. t-esc="account['30_days']"
  587. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  588. />
  589. </div>
  590. <!--## age_60_days-->
  591. <div class="act_as_cell amount" style="width: 6.00%">
  592. <span
  593. t-esc="account['60_days']"
  594. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  595. />
  596. </div>
  597. <!--## age_90_days-->
  598. <div class="act_as_cell amount" style="width: 6.00%">
  599. <span
  600. t-esc="account['90_days']"
  601. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  602. />
  603. </div>
  604. <!--## age_120_days-->
  605. <div class="act_as_cell amount" style="width: 6.00%">
  606. <span
  607. t-esc="account['120_days']"
  608. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  609. />
  610. </div>
  611. <!--## older-->
  612. <div class="act_as_cell amount" style="width: 6.00%">
  613. <span
  614. t-esc="account['older']"
  615. t-options="{'widget': 'monetary', 'display_currency': company_currency}"
  616. />
  617. </div>
  618. </t>
  619. </div>
  620. <div class="act_as_row" style="font-weight: bold; font-style: italic;">
  621. <t t-if="not show_move_line_details">
  622. <!--## total-->
  623. <div class="act_as_cell right" style="width: 32.52%;">
  624. Percents</div>
  625. <!--## amount_residual-->
  626. <div class="act_as_cell amount" style="width: 9.64%;" />
  627. <!--## current-->
  628. <div class="act_as_cell amount" style="width: 9.64%;"><span
  629. t-esc="account['percent_current']"
  630. />%
  631. </div>
  632. <!--## age_30_days-->
  633. <div class="act_as_cell amount" style="width: 9.64%;"><span
  634. t-esc="account['percent_30_days']"
  635. />%
  636. </div>
  637. <!--## age_60_days-->
  638. <div class="act_as_cell amount" style="width: 9.64%;"><span
  639. t-esc="account['percent_60_days']"
  640. />%
  641. </div>
  642. <!--## age_90_days-->
  643. <div class="act_as_cell amount" style="width: 9.64%;"><span
  644. t-esc="account['percent_90_days']"
  645. />%
  646. </div>
  647. <!--## age_120_days-->
  648. <div class="act_as_cell amount" style="width: 9.64%;"><span
  649. t-esc="account['percent_120_days']"
  650. />%
  651. </div>
  652. <!--## older-->
  653. <div class="act_as_cell amount" style="width: 9.64%;"><span
  654. t-esc="account['percent_older']"
  655. />%
  656. </div>
  657. </t>
  658. <t t-if="show_move_line_details">
  659. <!--## total-->
  660. <div class="act_as_cell right" style="width: 52.00%;">
  661. Percents</div>
  662. <!--## date_due-->
  663. <div class="act_as_cell" style="width: 6.00%;" />
  664. <!--## amount_residual-->
  665. <div class="act_as_cell amount" style="width: 6.00%" />
  666. <!--## current-->
  667. <div class="act_as_cell amount" style="width: 6.00%"><span
  668. t-esc="account['percent_current']"
  669. />%
  670. </div>
  671. <!--## age_30_days-->
  672. <div class="act_as_cell amount" style="width: 6.00%"><span
  673. t-esc="account['percent_30_days']"
  674. />%
  675. </div>
  676. <!--## age_60_days-->
  677. <div class="act_as_cell amount" style="width: 6.00%"><span
  678. t-esc="account['percent_60_days']"
  679. />%
  680. </div>
  681. <!--## age_90_days-->
  682. <div class="act_as_cell amount" style="width: 6.00%"><span
  683. t-esc="account['percent_90_days']"
  684. />%
  685. </div>
  686. <!--## age_120_days-->
  687. <div class="act_as_cell amount" style="width: 6.00%"><span
  688. t-esc="account['percent_120_days']"
  689. />%
  690. </div>
  691. <!--## older-->
  692. <div class="act_as_cell amount" style="width: 6.00%"><span
  693. t-esc="account['percent_older']"
  694. />%
  695. </div>
  696. </t>
  697. </div>
  698. </div>
  699. </template>
  700. </odoo>