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.

571 lines
32 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 t-call="account_financial_report.report_aged_partner_balance_base"/>
  8. </t>
  9. </t>
  10. </t>
  11. </template>
  12. <template id="report_aged_partner_balance_base">
  13. <!-- Saved flag fields into variables, used to define columns display -->
  14. <t t-set="show_move_line_details" t-value="show_move_line_details"/>
  15. <!-- Defines global variables used by internal layout -->
  16. <t t-set="title">Aged Partner Balance - <t t-raw="company_name"/> - <t t-raw="currency_name"/></t>
  17. <div class="page">
  18. <div class="row">
  19. <h4 class="mt0" t-esc="title or 'Odoo Report'" style="text-align: center;"/>
  20. </div>
  21. <!-- Display filters -->
  22. <t t-call="account_financial_report.report_aged_partner_balance_filters"/>
  23. <t t-foreach="aged_partner_balance" t-as="account">
  24. <div class="page_break">
  25. <!-- Display account header -->
  26. <div class="act_as_table list_table" style="margin-top: 10px;"/>
  27. <div class="act_as_caption account_title"
  28. style="width: 100%;">
  29. <span t-esc="account['code']"/>
  30. -
  31. <span t-esc="account['name']"/>
  32. </div>
  33. <!-- Display account lines -->
  34. <t t-if="not show_move_line_details">
  35. <div class="act_as_table data_table"
  36. style="width: 100%;">
  37. <!-- Display account header -->
  38. <t t-call="account_financial_report.report_aged_partner_balance_lines_header"/>
  39. <t t-foreach="account['partners']" t-as="partner">
  40. <!-- Display one line per partner -->
  41. <t t-call="account_financial_report.report_aged_partner_balance_lines"/>
  42. </t>
  43. </div>
  44. <!-- Display account footer -->
  45. <t t-call="account_financial_report.report_aged_partner_balance_account_ending_cumul"/>
  46. </t>
  47. <!-- Display account move lines -->
  48. <t t-if="show_move_line_details">
  49. <!-- Display account partners -->
  50. <t t-foreach="account['partners']" t-as="partner">
  51. <div class="page_break">
  52. <!-- Display partner header -->
  53. <div class="act_as_caption account_title">
  54. <span t-esc="partner['name']"/>
  55. </div>
  56. <!-- Display partner move lines -->
  57. <t t-call="account_financial_report.report_aged_partner_balance_move_lines"/>
  58. <!-- Display partner footer -->
  59. <t t-call="account_financial_report.report_aged_partner_balance_partner_ending_cumul">
  60. <t t-set="partner_cumul_line" t-value="partner"/>
  61. </t>
  62. </div>
  63. </t>
  64. <!-- Display account footer -->
  65. <t t-call="account_financial_report.report_aged_partner_balance_account_ending_cumul"/>
  66. </t>
  67. </div>
  68. </t>
  69. </div>
  70. </template>
  71. <template id="report_aged_partner_balance_filters">
  72. <div class="act_as_table data_table" style="width: 100%;">
  73. <div class="act_as_row labels">
  74. <div class="act_as_cell">Date at filter</div>
  75. <div class="act_as_cell">Target moves filter</div>
  76. </div>
  77. <div class="act_as_row">
  78. <div class="act_as_cell">
  79. <span t-esc="date_at"/>
  80. </div>
  81. <div class="act_as_cell">
  82. <t t-if="only_posted_moves">All posted entries</t>
  83. <t t-if="not only_posted_moves">All entries</t>
  84. </div>
  85. </div>
  86. </div>
  87. </template>
  88. <template id="report_aged_partner_balance_lines_header">
  89. <!-- Display table headers for lines -->
  90. <div class="act_as_thead">
  91. <div class="act_as_row labels">
  92. <!--## partner-->
  93. <div class="act_as_cell" style="width: 32.52%;">Partner</div>
  94. <!--## amount_residual-->
  95. <div class="act_as_cell" style="width: 9.64%;">Residual</div>
  96. <!--## current-->
  97. <div class="act_as_cell" style="width: 9.64%;">Not due</div>
  98. <!--## age_30_days-->
  99. <div class="act_as_cell" style="width: 9.64%;">1 - 30 d.</div>
  100. <!--## age_60_days-->
  101. <div class="act_as_cell" style="width: 9.64%;">31 - 60 d.</div>
  102. <!--## age_90_days-->
  103. <div class="act_as_cell" style="width: 9.64%;">61 - 90 d.</div>
  104. <!--## age_120_days-->
  105. <div class="act_as_cell" style="width: 9.64%;">91 - 120 d.</div>
  106. <!--## older-->
  107. <div class="act_as_cell" style="width: 9.64%;"> > 120 d.</div>
  108. </div>
  109. </div>
  110. </template>
  111. <template id="report_aged_partner_balance_lines">
  112. <!-- Display each partner lines -->
  113. <div class="act_as_row lines">
  114. <!--## partner-->
  115. <div class="act_as_cell left">
  116. <span t-esc="partner['name']"/>
  117. </div>
  118. <!--## amount_residual-->
  119. <div class="act_as_cell amount">
  120. <span t-esc="partner['residual']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  121. </div>
  122. <!--## current-->
  123. <div class="act_as_cell amount">
  124. <span t-esc="partner['current']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  125. </div>
  126. <!--## age_30_days-->
  127. <div class="act_as_cell amount">
  128. <span t-esc="partner['30_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  129. </div>
  130. <!--## age_60_days-->
  131. <div class="act_as_cell amount">
  132. <span t-esc="partner['60_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  133. </div>
  134. <!--## age_90_days-->
  135. <div class="act_as_cell amount">
  136. <span t-esc="partner['90_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  137. </div>
  138. <!--## age_120_days-->
  139. <div class="act_as_cell amount">
  140. <span t-esc="partner['120_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  141. </div>
  142. <!--## older-->
  143. <div class="act_as_cell amount">
  144. <span t-esc="partner['older']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  145. </div>
  146. </div>
  147. </template>
  148. <template id="report_aged_partner_balance_move_lines">
  149. <div class="act_as_table data_table" style="width: 100%;">
  150. <!-- Display table headers for move lines -->
  151. <div class="act_as_thead">
  152. <div class="act_as_row labels">
  153. <!--## date-->
  154. <div class="act_as_cell first_column" style="width: 6.00%;">
  155. Date</div>
  156. <!--## move-->
  157. <div class="act_as_cell" style="width: 7.00%;">Entry</div>
  158. <!--## journal-->
  159. <div class="act_as_cell" style="width: 5.00%;">Journal</div>
  160. <!--## account code-->
  161. <div class="act_as_cell" style="width: 6.00%;">Account</div>
  162. <!--## partner-->
  163. <div class="act_as_cell" style="width: 10.50%;">Partner
  164. </div>
  165. <!--## ref - label-->
  166. <div class="act_as_cell" style="width: 18.00%;">Ref -
  167. Label</div>
  168. <!--## date_due-->
  169. <div class="act_as_cell" style="width: 6.00%;">Due
  170. date</div>
  171. <!--## amount_residual-->
  172. <div class="act_as_cell" style="width: 6.00%;">Residual
  173. </div>
  174. <!--## current-->
  175. <div class="act_as_cell" style="width: 6.00%;">Current</div>
  176. <!--## age_30_days-->
  177. <div class="act_as_cell" style="width: 6.00%;">Age ≤ 30
  178. d.</div>
  179. <!--## age_60_days-->
  180. <div class="act_as_cell" style="width: 6.00%;">Age ≤ 60
  181. d.</div>
  182. <!--## age_90_days-->
  183. <div class="act_as_cell" style="width: 6.00%;">Age ≤ 90
  184. d.</div>
  185. <!--## age_120_days-->
  186. <div class="act_as_cell" style="width: 6.00%;">Age ≤ 120
  187. d.</div>
  188. <!--## older-->
  189. <div class="act_as_cell" style="width: 6.00%;">Older</div>
  190. </div>
  191. </div>
  192. <!-- Display each move lines -->
  193. <t t-foreach="partner['move_lines']" t-as="line">
  194. <!-- # lines or centralized lines -->
  195. <div class="act_as_row lines">
  196. <!--## date-->
  197. <div class="act_as_cell left">
  198. <!-- <span>-->
  199. <!-- <a t-att-data-active-id="line.move_line_id.id"-->
  200. <!-- t-att-data-res-model="'account.move.line'"-->
  201. <!-- class="o_account_financial_reports_web_action"-->
  202. <!-- style="color: black;">-->
  203. <!--## We don't use t-field because it throws an error on click -->
  204. <t t-esc="line['date']" t-options="{'widget': 'date'}"/>
  205. <!-- </a>-->
  206. <!-- </span>-->
  207. </div>
  208. <!--## move-->
  209. <div class="act_as_cell left">
  210. <!-- <span>-->
  211. <!-- <a t-att-data-active-id="line.move_line_id.move_id.id"-->
  212. <!-- t-att-data-res-model="'account.move'"-->
  213. <!-- class="o_account_financial_reports_web_action"-->
  214. <!-- style="color: black;">-->
  215. <t t-raw="line['entry']"/>
  216. <!-- </a>-->
  217. <!-- </span>-->
  218. </div>
  219. <!--## journal-->
  220. <div class="act_as_cell left">
  221. <!-- <span>-->
  222. <!-- <a t-att-data-active-id="line.move_line_id.move_id.journal_id.id"-->
  223. <!-- t-att-data-res-model="'account.journal'"-->
  224. <!-- class="o_account_financial_reports_web_action"-->
  225. <!-- style="color: black;">-->
  226. <t t-raw="line['journal']"/>
  227. <!-- </a>-->
  228. <!-- </span>-->
  229. </div>
  230. <!--## account code-->
  231. <div class="act_as_cell left">
  232. <!-- <span>-->
  233. <!-- <a t-att-data-active-id="line.move_line_id.account_id.id"-->
  234. <!-- t-att-data-res-model="'account.account'"-->
  235. <!-- class="o_account_financial_reports_web_action"-->
  236. <!-- style="color: black;">-->
  237. <t t-raw="line['account']"/>
  238. <!-- </a>-->
  239. <!-- </span>-->
  240. </div>
  241. <!--## partner-->
  242. <div class="act_as_cell left">
  243. <!-- <span>-->
  244. <!-- <a t-att-data-active-id="line.move_line_id.partner_id.id"-->
  245. <!-- t-att-data-res-model="'res.partner'"-->
  246. <!-- class="o_account_financial_reports_web_action"-->
  247. <!-- style="color: black;">-->
  248. <t t-raw="line['partner']"/>
  249. <!-- </a>-->
  250. <!-- </span>-->
  251. </div>
  252. <!--## ref - label-->
  253. <div class="act_as_cell left">
  254. <!-- <span>-->
  255. <!-- <a t-att-data-active-id="line.move_line_id.id"-->
  256. <!-- t-att-data-res-model="'account.move.line'"-->
  257. <!-- class="o_account_financial_reports_web_action"-->
  258. <!-- style="color: black;">-->
  259. <t t-raw="line['ref']"/>
  260. <!-- </a>-->
  261. <!-- </span>-->
  262. </div>
  263. <!--## date_due-->
  264. <div class="act_as_cell left">
  265. <!-- <span>-->
  266. <!-- <a t-att-data-active-id="line.move_line_id.id"-->
  267. <!-- t-att-data-res-model="'account.move.line'"-->
  268. <!-- class="o_account_financial_reports_web_action"-->
  269. <!-- style="color: black;">-->
  270. <!--## We don't use t-field because it throws an error on click -->
  271. <t t-esc="line['due_date']" t-options="{'widget': 'date'}"/>
  272. <!-- </a>-->
  273. <!-- </span>-->
  274. </div>
  275. <!--## amount_residual-->
  276. <div class="act_as_cell amount">
  277. <!-- <span>-->
  278. <!-- <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)]"-->
  279. <!-- t-att-data-res-model="'account.move.line'"-->
  280. <!-- class="o_account_financial_reports_web_action_multi"-->
  281. <!-- style="color: black;">-->
  282. <t t-raw="line['residual']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  283. <!-- </a>-->
  284. <!-- </span>-->
  285. </div>
  286. <!--## current-->
  287. <div class="act_as_cell amount">
  288. <!-- <t t-if="line.current != 0">-->
  289. <!-- <span>-->
  290. <!-- <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)]"-->
  291. <!-- t-att-data-res-model="'account.move.line'"-->
  292. <!-- class="o_account_financial_reports_web_action_multi"-->
  293. <!-- style="color: black;">-->
  294. <t t-raw="line['current']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  295. <!-- </a>-->
  296. <!-- </span>-->
  297. <!-- </t>-->
  298. <!-- <t t-if="line.current == 0">-->
  299. <!-- <span t-field="line.current" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>-->
  300. <!-- </t>-->
  301. </div>
  302. <!--## age_30_days-->
  303. <div class="act_as_cell amount">
  304. <!-- <t t-if="line.age_30_days != 0">-->
  305. <!-- <span>-->
  306. <!-- <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)]"-->
  307. <!-- t-att-data-res-model="'account.move.line'"-->
  308. <!-- class="o_account_financial_reports_web_action_multi"-->
  309. <!-- style="color: black;">-->
  310. <t t-raw="line['30_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  311. <!-- </a>-->
  312. <!-- </span>-->
  313. <!-- </t>-->
  314. <!-- <t t-if="line.age_30_days == 0">-->
  315. <!-- <span t-field="line.age_30_days" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>-->
  316. <!-- </t>-->
  317. </div>
  318. <!--## age_60_days-->
  319. <div class="act_as_cell amount">
  320. <!-- <t t-if="line.age_60_days != 0">-->
  321. <!-- <span>-->
  322. <!-- <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)]"-->
  323. <!-- t-att-data-res-model="'account.move.line'"-->
  324. <!-- class="o_account_financial_reports_web_action_multi"-->
  325. <!-- style="color: black;">-->
  326. <t t-raw="line['60_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  327. <!-- </a>-->
  328. <!-- </span>-->
  329. <!-- </t>-->
  330. <!-- <t t-if="line.age_60_days == 0">-->
  331. <!-- <span t-field="line.age_60_days" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>-->
  332. <!-- </t>-->
  333. </div>
  334. <!--## age_90_days-->
  335. <div class="act_as_cell amount">
  336. <!-- <t t-if="line.age_90_days != 0">-->
  337. <!-- <span>-->
  338. <!-- <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)]"-->
  339. <!-- t-att-data-res-model="'account.move.line'"-->
  340. <!-- class="o_account_financial_reports_web_action_multi"-->
  341. <!-- style="color: black;">-->
  342. <t t-raw="line['90_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  343. <!-- </a>-->
  344. <!-- </span>-->
  345. <!-- </t>-->
  346. <!-- <t t-if="line.age_90_days == 0">-->
  347. <!-- <span t-field="line.age_90_days" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>-->
  348. <!-- </t>-->
  349. </div>
  350. <!--## age_120_days-->
  351. <div class="act_as_cell amount">
  352. <!-- <t t-if="line.age_120_days != 0">-->
  353. <!-- <span>-->
  354. <!-- <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)]"-->
  355. <!-- t-att-data-res-model="'account.move.line'"-->
  356. <!-- class="o_account_financial_reports_web_action_multi"-->
  357. <!-- style="color: black;">-->
  358. <t t-raw="line['120_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  359. <!-- </a>-->
  360. <!-- </span>-->
  361. <!-- </t>-->
  362. <!-- <t t-if="line.age_120_days == 0">-->
  363. <!-- <span t-field="line.age_120_days" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>-->
  364. <!-- </t>-->
  365. </div>
  366. <!--## older-->
  367. <div class="act_as_cell amount">
  368. <!-- <t t-if="line.older != 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 t-raw="line['older']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  375. <!-- </a>-->
  376. <!-- </span>-->
  377. <!-- </t>-->
  378. <!-- <t t-if="line.older == 0">-->
  379. <!-- <span t-field="line.older" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>-->
  380. <!-- </t>-->
  381. </div>
  382. </div>
  383. </t>
  384. </div>
  385. </template>
  386. <template id="report_aged_partner_balance_partner_ending_cumul">
  387. <!-- Display ending balance line for partner -->
  388. <div class="act_as_table list_table" style="width: 100%;">
  389. <div class="act_as_row lines" style="font-weight: bold;">
  390. <!--## date-->
  391. <div class="act_as_cell right" style="width: 52.00%;">Partner
  392. cumul aged balance</div>
  393. <!--## date_due-->
  394. <div class="act_as_cell" style="width: 6.00%;"/>
  395. <!--## amount_residual-->
  396. <div class="act_as_cell amount" style="width: 6.00%;">
  397. <span t-esc="partner_cumul_line['residual']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  398. </div>
  399. <!--## current-->
  400. <div class="act_as_cell amount" style="width: 6.00%;">
  401. <span t-esc="partner_cumul_line['current']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  402. </div>
  403. <!--## age_30_days-->
  404. <div class="act_as_cell amount" style="width: 6.00%;">
  405. <span t-esc="partner_cumul_line['30_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  406. </div>
  407. <!--## age_60_days-->
  408. <div class="act_as_cell amount" style="width: 6.00%;">
  409. <span t-esc="partner_cumul_line['60_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  410. </div>
  411. <!--## age_90_days-->
  412. <div class="act_as_cell amount" style="width: 6.00%;">
  413. <span t-esc="partner_cumul_line['90_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  414. </div>
  415. <!--## age_120_days-->
  416. <div class="act_as_cell amount" style="width: 6.00%;">
  417. <span t-esc="partner_cumul_line['120_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  418. </div>
  419. <!--## older-->
  420. <div class="act_as_cell amount" style="width: 6.00%;">
  421. <span t-esc="partner_cumul_line['older']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  422. </div>
  423. </div>
  424. </div>
  425. </template>
  426. <template id="report_aged_partner_balance_account_ending_cumul">
  427. <!-- Display ending balance line for account -->
  428. <div class="act_as_table list_table" style="width: 100%;">
  429. <div class="act_as_row lines" style="font-weight: bold;">
  430. <t t-if="not show_move_line_details">
  431. <!--## total-->
  432. <div class="act_as_cell right" style="width: 32.52%;">Total</div>
  433. <!--## amount_residual-->
  434. <div class="act_as_cell amount" style="width: 9.64%;">
  435. <span t-esc="account['residual']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  436. </div>
  437. <!--## current-->
  438. <div class="act_as_cell amount" style="width: 9.64%;">
  439. <span t-esc="account['current']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  440. </div>
  441. <!--## age_30_days-->
  442. <div class="act_as_cell amount" style="width: 9.64%;">
  443. <span t-esc="account['30_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  444. </div>
  445. <!--## age_60_days-->
  446. <div class="act_as_cell amount" style="width: 9.64%;">
  447. <span t-esc="account['60_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  448. </div>
  449. <!--## age_90_days-->
  450. <div class="act_as_cell amount" style="width: 9.64%;">
  451. <span t-esc="account['90_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  452. </div>
  453. <!--## age_120_days-->
  454. <div class="act_as_cell amount" style="width: 9.64%;">
  455. <span t-esc="account['120_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  456. </div>
  457. <!--## older-->
  458. <div class="act_as_cell amount" style="width: 9.64%;">
  459. <span t-esc="account['older']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  460. </div>
  461. </t>
  462. <t t-if="show_move_line_details">
  463. <!--## total-->
  464. <div class="act_as_cell right" style="width: 52.00%;">Total</div>
  465. <!--## date_due-->
  466. <div class="act_as_cell" style="width: 6.00%;"/>
  467. <!--## amount_residual-->
  468. <div class="act_as_cell amount" style="width: 6.00%">
  469. <span t-esc="account['residual']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  470. </div>
  471. <!--## current-->
  472. <div class="act_as_cell amount" style="width: 6.00%">
  473. <span t-esc="account['current']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  474. </div>
  475. <!--## age_30_days-->
  476. <div class="act_as_cell amount" style="width: 6.00%">
  477. <span t-esc="account['30_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  478. </div>
  479. <!--## age_60_days-->
  480. <div class="act_as_cell amount" style="width: 6.00%">
  481. <span t-esc="account['60_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  482. </div>
  483. <!--## age_90_days-->
  484. <div class="act_as_cell amount" style="width: 6.00%">
  485. <span t-esc="account['90_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  486. </div>
  487. <!--## age_120_days-->
  488. <div class="act_as_cell amount" style="width: 6.00%">
  489. <span t-esc="account['120_days']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  490. </div>
  491. <!--## older-->
  492. <div class="act_as_cell amount" style="width: 6.00%">
  493. <span t-esc="account['older']" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  494. </div>
  495. </t>
  496. </div>
  497. <div class="act_as_row" style="font-weight: bold; font-style: italic;">
  498. <t t-if="not show_move_line_details">
  499. <!--## total-->
  500. <div class="act_as_cell right" style="width: 32.52%;">
  501. Percents</div>
  502. <!--## amount_residual-->
  503. <div class="act_as_cell amount" style="width: 9.64%;"/>
  504. <!--## current-->
  505. <div class="act_as_cell amount" style="width: 9.64%;"><span t-esc="account['percent_current']"/>%
  506. </div>
  507. <!--## age_30_days-->
  508. <div class="act_as_cell amount" style="width: 9.64%;"><span t-esc="account['percent_30_days']"/>%
  509. </div>
  510. <!--## age_60_days-->
  511. <div class="act_as_cell amount" style="width: 9.64%;"><span t-esc="account['percent_60_days']"/>%
  512. </div>
  513. <!--## age_90_days-->
  514. <div class="act_as_cell amount" style="width: 9.64%;"><span t-esc="account['percent_90_days']"/>%
  515. </div>
  516. <!--## age_120_days-->
  517. <div class="act_as_cell amount" style="width: 9.64%;"><span t-esc="account['percent_120_days']"/>%
  518. </div>
  519. <!--## older-->
  520. <div class="act_as_cell amount" style="width: 9.64%;"><span t-esc="account['percent_older']"/>%
  521. </div>
  522. </t>
  523. <t t-if="show_move_line_details">
  524. <!--## total-->
  525. <div class="act_as_cell right" style="width: 52.00%;">
  526. Percents</div>
  527. <!--## date_due-->
  528. <div class="act_as_cell" style="width: 6.00%;"/>
  529. <!--## amount_residual-->
  530. <div class="act_as_cell amount" style="width: 6.00%"/>
  531. <!--## current-->
  532. <div class="act_as_cell amount" style="width: 6.00%"><span t-esc="account['percent_current']"/>%
  533. </div>
  534. <!--## age_30_days-->
  535. <div class="act_as_cell amount" style="width: 6.00%"><span t-esc="account['percent_30_days']"/>%
  536. </div>
  537. <!--## age_60_days-->
  538. <div class="act_as_cell amount" style="width: 6.00%"><span t-esc="account['percent_60_days']"/>%
  539. </div>
  540. <!--## age_90_days-->
  541. <div class="act_as_cell amount" style="width: 6.00%"><span t-esc="account['percent_90_days']"/>%
  542. </div>
  543. <!--## age_120_days-->
  544. <div class="act_as_cell amount" style="width: 6.00%"><span t-esc="account['percent_120_days']"/>%
  545. </div>
  546. <!--## older-->
  547. <div class="act_as_cell amount" style="width: 6.00%"><span t-esc="account['percent_older']"/>%
  548. </div>
  549. </t>
  550. </div>
  551. </div>
  552. </template>
  553. </odoo>