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
39 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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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. <!-- <a t-att-data-active-id="line.move_line_id.id"-->
  239. <!-- t-att-data-res-model="'account.move.line'"-->
  240. <!-- class="o_account_financial_reports_web_action"-->
  241. <!-- style="color: black;">-->
  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. <!-- </a>-->
  245. <!-- </span>-->
  246. </div>
  247. <!--## move-->
  248. <div class="act_as_cell left">
  249. <!-- <span>-->
  250. <!-- <a t-att-data-active-id="line.move_line_id.move_id.id"-->
  251. <!-- t-att-data-res-model="'account.move'"-->
  252. <!-- class="o_account_financial_reports_web_action"-->
  253. <!-- style="color: black;">-->
  254. <t t-raw="line['entry']" />
  255. <!-- </a>-->
  256. <!-- </span>-->
  257. </div>
  258. <!--## journal-->
  259. <div class="act_as_cell left">
  260. <!-- <span>-->
  261. <!-- <a t-att-data-active-id="line.move_line_id.move_id.journal_id.id"-->
  262. <!-- t-att-data-res-model="'account.journal'"-->
  263. <!-- class="o_account_financial_reports_web_action"-->
  264. <!-- style="color: black;">-->
  265. <t t-raw="line['journal']" />
  266. <!-- </a>-->
  267. <!-- </span>-->
  268. </div>
  269. <!--## account code-->
  270. <div class="act_as_cell left">
  271. <!-- <span>-->
  272. <!-- <a t-att-data-active-id="line.move_line_id.account_id.id"-->
  273. <!-- t-att-data-res-model="'account.account'"-->
  274. <!-- class="o_account_financial_reports_web_action"-->
  275. <!-- style="color: black;">-->
  276. <t t-raw="line['account']" />
  277. <!-- </a>-->
  278. <!-- </span>-->
  279. </div>
  280. <!--## partner-->
  281. <div class="act_as_cell left">
  282. <!-- <span>-->
  283. <!-- <a t-att-data-active-id="line.move_line_id.partner_id.id"-->
  284. <!-- t-att-data-res-model="'res.partner'"-->
  285. <!-- class="o_account_financial_reports_web_action"-->
  286. <!-- style="color: black;">-->
  287. <t t-raw="line['partner']" />
  288. <!-- </a>-->
  289. <!-- </span>-->
  290. </div>
  291. <!--## ref - label-->
  292. <div class="act_as_cell left">
  293. <!-- <span>-->
  294. <!-- <a t-att-data-active-id="line.move_line_id.id"-->
  295. <!-- t-att-data-res-model="'account.move.line'"-->
  296. <!-- class="o_account_financial_reports_web_action"-->
  297. <!-- style="color: black;">-->
  298. <t t-raw="line['ref']" />
  299. <!-- </a>-->
  300. <!-- </span>-->
  301. </div>
  302. <!--## date_due-->
  303. <div class="act_as_cell left">
  304. <!-- <span>-->
  305. <!-- <a t-att-data-active-id="line.move_line_id.id"-->
  306. <!-- t-att-data-res-model="'account.move.line'"-->
  307. <!-- class="o_account_financial_reports_web_action"-->
  308. <!-- style="color: black;">-->
  309. <!--## We don't use t-field because it throws an error on click -->
  310. <t t-esc="line['due_date']" t-options="{'widget': 'date'}" />
  311. <!-- </a>-->
  312. <!-- </span>-->
  313. </div>
  314. <!--## amount_residual-->
  315. <div class="act_as_cell amount">
  316. <!-- <span>-->
  317. <!-- <a t-att-data-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)]"-->
  318. <!-- t-att-data-res-model="'account.move.line'"-->
  319. <!-- class="o_account_financial_reports_web_action_multi"-->
  320. <!-- style="color: black;">-->
  321. <t
  322. t-raw="line['residual']"
  323. t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
  324. />
  325. <!-- </a>-->
  326. <!-- </span>-->
  327. </div>
  328. <!--## current-->
  329. <div class="act_as_cell amount">
  330. <!-- <t t-if="line.current != 0">-->
  331. <!-- <span>-->
  332. <!-- <a t-att-data-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. <!-- t-att-data-res-model="'account.move.line'"-->
  334. <!-- class="o_account_financial_reports_web_action_multi"-->
  335. <!-- style="color: black;">-->
  336. <t
  337. t-raw="line['current']"
  338. t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
  339. />
  340. <!-- </a>-->
  341. <!-- </span>-->
  342. <!-- </t>-->
  343. <!-- <t t-if="line.current == 0">-->
  344. <!-- <span t-field="line.current" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>-->
  345. <!-- </t>-->
  346. </div>
  347. <!--## age_30_days-->
  348. <div class="act_as_cell amount">
  349. <!-- <t t-if="line.age_30_days != 0">-->
  350. <!-- <span>-->
  351. <!-- <a t-att-data-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)]"-->
  352. <!-- t-att-data-res-model="'account.move.line'"-->
  353. <!-- class="o_account_financial_reports_web_action_multi"-->
  354. <!-- style="color: black;">-->
  355. <t
  356. t-raw="line['30_days']"
  357. t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
  358. />
  359. <!-- </a>-->
  360. <!-- </span>-->
  361. <!-- </t>-->
  362. <!-- <t t-if="line.age_30_days == 0">-->
  363. <!-- <span t-field="line.age_30_days" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>-->
  364. <!-- </t>-->
  365. </div>
  366. <!--## age_60_days-->
  367. <div class="act_as_cell amount">
  368. <!-- <t t-if="line.age_60_days != 0">-->
  369. <!-- <span>-->
  370. <!-- <a t-att-data-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)]"-->
  371. <!-- t-att-data-res-model="'account.move.line'"-->
  372. <!-- class="o_account_financial_reports_web_action_multi"-->
  373. <!-- style="color: black;">-->
  374. <t
  375. t-raw="line['60_days']"
  376. t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
  377. />
  378. <!-- </a>-->
  379. <!-- </span>-->
  380. <!-- </t>-->
  381. <!-- <t t-if="line.age_60_days == 0">-->
  382. <!-- <span t-field="line.age_60_days" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>-->
  383. <!-- </t>-->
  384. </div>
  385. <!--## age_90_days-->
  386. <div class="act_as_cell amount">
  387. <!-- <t t-if="line.age_90_days != 0">-->
  388. <!-- <span>-->
  389. <!-- <a t-att-data-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)]"-->
  390. <!-- t-att-data-res-model="'account.move.line'"-->
  391. <!-- class="o_account_financial_reports_web_action_multi"-->
  392. <!-- style="color: black;">-->
  393. <t
  394. t-raw="line['90_days']"
  395. t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
  396. />
  397. <!-- </a>-->
  398. <!-- </span>-->
  399. <!-- </t>-->
  400. <!-- <t t-if="line.age_90_days == 0">-->
  401. <!-- <span t-field="line.age_90_days" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>-->
  402. <!-- </t>-->
  403. </div>
  404. <!--## age_120_days-->
  405. <div class="act_as_cell amount">
  406. <!-- <t t-if="line.age_120_days != 0">-->
  407. <!-- <span>-->
  408. <!-- <a t-att-data-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)]"-->
  409. <!-- t-att-data-res-model="'account.move.line'"-->
  410. <!-- class="o_account_financial_reports_web_action_multi"-->
  411. <!-- style="color: black;">-->
  412. <t
  413. t-raw="line['120_days']"
  414. t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
  415. />
  416. <!-- </a>-->
  417. <!-- </span>-->
  418. <!-- </t>-->
  419. <!-- <t t-if="line.age_120_days == 0">-->
  420. <!-- <span t-field="line.age_120_days" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>-->
  421. <!-- </t>-->
  422. </div>
  423. <!--## older-->
  424. <div class="act_as_cell amount">
  425. <!-- <t t-if="line.older != 0">-->
  426. <!-- <span>-->
  427. <!-- <a t-att-data-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)]"-->
  428. <!-- t-att-data-res-model="'account.move.line'"-->
  429. <!-- class="o_account_financial_reports_web_action_multi"-->
  430. <!-- style="color: black;">-->
  431. <t
  432. t-raw="line['older']"
  433. t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
  434. />
  435. <!-- </a>-->
  436. <!-- </span>-->
  437. <!-- </t>-->
  438. <!-- <t t-if="line.older == 0">-->
  439. <!-- <span t-field="line.older" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>-->
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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': res_company.currency_id}"
  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>