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.

558 lines
31 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="report_general_ledger_qweb">
  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_general_ledger_base"/>
  8. </t>
  9. </t>
  10. </t>
  11. </template>
  12. <template id="report_general_ledger_base">
  13. <!-- Saved flag fields into variables, used to define columns display -->
  14. <t t-set="show_analytic_tags" t-value="o.show_analytic_tags"/>
  15. <t t-set="show_cost_center" t-value="o.show_cost_center"/>
  16. <t t-set="foreign_currency" t-value="o.foreign_currency"/>
  17. <!-- Defines global variables used by internal layout -->
  18. <t t-set="title">General Ledger - <t t-raw="o.company_id.name"/> - <t t-raw="o.company_id.currency_id.name"/></t>
  19. <t t-set="company_name" t-value="o.company_id.name"/>
  20. <div class="page">
  21. <div class="row">
  22. <h4 class="mt0" t-esc="title or 'Odoo Report'" style="text-align: center;"/>
  23. </div>
  24. <!-- Display filters -->
  25. <t t-call="account_financial_report.report_general_ledger_filters"/>
  26. <t t-foreach="o.account_ids" t-as="account">
  27. <div class="page_break">
  28. <!-- Display account header -->
  29. <div class="act_as_table list_table" style="margin-top: 10px;"/>
  30. <div class="act_as_caption account_title"
  31. style="width: 100%">
  32. <span t-field="account.code"/> - <span t-field="account.name"/>
  33. </div>
  34. <t t-if="not account.partner_ids">
  35. <!-- Display account move lines without partner regroup -->
  36. <t t-set="type" t-value='"account_type"'/>
  37. <t t-call="account_financial_report.report_general_ledger_lines">
  38. <t t-set="account_or_partner_object" t-value="account"/>
  39. </t>
  40. </t>
  41. <t t-if="account.partner_ids">
  42. <!-- Display account partners -->
  43. <t t-foreach="account.partner_ids" t-as="partner">
  44. <t t-set="type" t-value='"partner_type"'/>
  45. <div class="page_break">
  46. <!-- Display partner header -->
  47. <div class="act_as_caption account_title">
  48. <span t-field="partner.name"/>
  49. </div>
  50. <!-- Display partner move lines -->
  51. <t t-call="account_financial_report.report_general_ledger_lines">
  52. <t t-set="account_or_partner_object" t-value="partner"/>
  53. </t>
  54. <!-- Display partner footer -->
  55. <t t-call="account_financial_report.report_general_ledger_ending_cumul">
  56. <t t-set="account_or_partner_object" t-value="partner"/>
  57. <t t-set="type" t-value='"partner_type"'/>
  58. </t>
  59. </div>
  60. </t>
  61. </t>
  62. <!-- Display account footer -->
  63. <t t-if="not o.filter_partner_ids" t-call="account_financial_report.report_general_ledger_ending_cumul">
  64. <t t-set="account_or_partner_object" t-value="account"/>
  65. <t t-set="type" t-value='"account_type"'/>
  66. </t>
  67. </div>
  68. </t>
  69. </div>
  70. </template>
  71. <template id="account_financial_report.report_general_ledger_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 range filter</div>
  75. <div class="act_as_cell">Target moves filter</div>
  76. <div class="act_as_cell">Account balance at 0 filter</div>
  77. <div class="act_as_cell">Centralize filter</div>
  78. <div class="act_as_cell">Show analytic tags</div>
  79. </div>
  80. <div class="act_as_row">
  81. <div class="act_as_cell">
  82. From: <span t-field="o.date_from"/> To: <span t-field="o.date_to"/>
  83. </div>
  84. <div class="act_as_cell">
  85. <t t-if="o.only_posted_moves">All posted entries</t>
  86. <t t-if="not o.only_posted_moves">All entries</t>
  87. </div>
  88. <div class="act_as_cell">
  89. <t t-if="o.hide_account_at_0">Hide</t>
  90. <t t-if="not o.hide_account_at_0">Show</t>
  91. </div>
  92. <div class="act_as_cell">
  93. <t t-if="o.centralize">Yes</t>
  94. <t t-if="not o.centralize">No</t>
  95. </div>
  96. <div class="act_as_cell">
  97. <t t-if="o.show_analytic_tags">Yes</t>
  98. <t t-if="not o.show_analytic_tags">No</t>
  99. </div>
  100. </div>
  101. </div>
  102. </template>
  103. <template id="account_financial_report.report_general_ledger_lines">
  104. <div class="act_as_table data_table" style="width: 100%;">
  105. <!-- Display table headers for lines -->
  106. <div class="act_as_thead">
  107. <div class="act_as_row labels">
  108. <!--## date-->
  109. <div class="act_as_cell first_column" style="width: 3.51%;">
  110. Date</div>
  111. <!--## move-->
  112. <div class="act_as_cell" style="width: 8.03%">Entry</div>
  113. <!--## journal-->
  114. <div class="act_as_cell" style="width: 4.13%;">Journal</div>
  115. <!--## account code-->
  116. <div class="act_as_cell" style="width: 4.75%;">Account</div>
  117. <!--## account code-->
  118. <div class="act_as_cell" style="width: 8.89%;">Taxes</div>
  119. <!--## partner-->
  120. <div class="act_as_cell" style="width: 12.01%;">Partner
  121. </div>
  122. <!--## ref - label-->
  123. <div class="act_as_cell" style="width: 22.9%;">Ref -
  124. Label</div>
  125. <t t-if="show_cost_center">
  126. <!--## cost_center-->
  127. <div class="act_as_cell" style="width: 8.03%;">Cost
  128. center</div>
  129. </t>
  130. <t t-if="show_analytic_tags">
  131. <!--## analytic tags-->
  132. <div class="act_as_cell" style="width: 4.75%;">Tags</div>
  133. </t>
  134. <!--## matching_number-->
  135. <div class="act_as_cell" style="width: 2.41%;">Rec.</div>
  136. <!--## debit-->
  137. <div class="act_as_cell amount" style="width: 6.02%;">Debit</div>
  138. <!--## credit-->
  139. <div class="act_as_cell amount" style="width: 6.02%;">Credit</div>
  140. <!--## balance cumulated-->
  141. <div class="act_as_cell amount" style="width: 6.02%;">Cumul. Bal.</div>
  142. <t t-if="foreign_currency">
  143. <!--## currency_name-->
  144. <div class="act_as_cell" style="width: 2.08%;">Cur.</div>
  145. <!--## amount_currency-->
  146. <div class="act_as_cell amount" style="width: 5.19%;">Amount cur.</div>
  147. </t>
  148. </div>
  149. </div>
  150. <!-- Display first line with initial balance -->
  151. <div class="act_as_row lines">
  152. <!--## date-->
  153. <div class="act_as_cell"/>
  154. <!--## move-->
  155. <div class="act_as_cell"/>
  156. <!--## journal-->
  157. <div class="act_as_cell"/>
  158. <!--## account code-->
  159. <div class="act_as_cell"/>
  160. <!--## taxes-->
  161. <div class="act_as_cell"/>
  162. <!--## partner-->
  163. <div class="act_as_cell"/>
  164. <!--## ref - label-->
  165. <div class="act_as_cell amount">Initial balance</div>
  166. <t t-if="show_cost_center">
  167. <!--## cost_center-->
  168. <div class="act_as_cell"/>
  169. </t>
  170. <t t-if="show_analytic_tags">
  171. <!--## analytic tags-->
  172. <div class="act_as_cell"></div>
  173. </t>
  174. <!--## matching_number-->
  175. <div class="act_as_cell"/>
  176. <!--## debit-->
  177. <div class="act_as_cell amount">
  178. <t t-if="type == 'account_type'">
  179. <t t-set="domain"
  180. t-value="[('account_id', '=', account_or_partner_object.account_id.id),
  181. ('date', '&lt;', o.date_from.strftime('%Y-%m-%d')),
  182. ('debit', '&lt;&gt;', 0)]"/>
  183. <span>
  184. <a t-att-data-domain="domain"
  185. t-att-data-res-model="'account.move.line'"
  186. class="o_account_financial_reports_web_action_monetary_multi"
  187. style="color: black;">
  188. <t t-raw="account_or_partner_object.initial_debit" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>
  189. </span>
  190. </t>
  191. <t t-if="type == 'partner_type'">
  192. <t t-set="domain"
  193. t-value="[('account_id', '=', account_or_partner_object.report_account_id.account_id.id),
  194. ('partner_id', '=', account_or_partner_object.partner_id.id),
  195. ('date', '&lt;', o.date_from.strftime('%Y-%m-%d')),
  196. ('debit', '&lt;&gt;', 0)]"/>
  197. <span>
  198. <a t-att-data-domain="domain"
  199. t-att-data-res-model="'account.move.line'"
  200. class="o_account_financial_reports_web_action_monetary_multi"
  201. style="color: black;">
  202. <t t-raw="account_or_partner_object.initial_debit" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>
  203. </span>
  204. </t>
  205. </div>
  206. <!--## credit-->
  207. <div class="act_as_cell amount">
  208. <t t-if="type == 'account_type'">
  209. <t t-set="domain"
  210. t-value="[('account_id', '=', account_or_partner_object.account_id.id),
  211. ('date', '&lt;', o.date_from.strftime('%Y-%m-%d')),
  212. ('credit', '&lt;&gt;', 0)]"/>
  213. <span>
  214. <a t-att-data-domain="domain"
  215. t-att-data-res-model="'account.move.line'"
  216. class="o_account_financial_reports_web_action_monetary_multi"
  217. style="color: black;">
  218. <t t-raw="account_or_partner_object.initial_credit" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>
  219. </span>
  220. </t>
  221. <t t-if="type == 'partner_type'">
  222. <t t-set="domain"
  223. t-value="[('account_id', '=', account_or_partner_object.report_account_id.account_id.id),
  224. ('partner_id', '=', account_or_partner_object.partner_id.id),
  225. ('date', '&lt;', o.date_from.strftime('%Y-%m-%d')),
  226. ('credit', '&lt;&gt;', 0)]"/>
  227. <span>
  228. <a t-att-data-domain="domain"
  229. t-att-data-res-model="'account.move.line'"
  230. class="o_account_financial_reports_web_action_monetary_multi"
  231. style="color: black;">
  232. <t t-raw="account_or_partner_object.initial_credit" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>
  233. </span>
  234. </t>
  235. </div>
  236. <!--## balance cumulated-->
  237. <div class="act_as_cell amount">
  238. <t t-if="type == 'account_type'">
  239. <t t-set="domain"
  240. t-value="[('account_id', '=', account_or_partner_object.account_id.id),
  241. ('date', '&lt;', o.date_from.strftime('%Y-%m-%d'))]"/>
  242. <span>
  243. <a t-att-data-domain="domain"
  244. t-att-data-res-model="'account.move.line'"
  245. class="o_account_financial_reports_web_action_monetary_multi"
  246. style="color: black;">
  247. <t t-raw="account_or_partner_object.initial_balance" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>
  248. </span>
  249. </t>
  250. <t t-if="type == 'partner_type'">
  251. <t t-set="domain"
  252. t-value="[('account_id', '=', account_or_partner_object.report_account_id.account_id.id),
  253. ('partner_id', '=', account_or_partner_object.partner_id.id),
  254. ('date', '&lt;', o.date_from.strftime('%Y-%m-%d'))]"/>
  255. <span>
  256. <a t-att-data-domain="domain"
  257. t-att-data-res-model="'account.move.line'"
  258. class="o_account_financial_reports_web_action_monetary_multi"
  259. style="color: black;">
  260. <t t-raw="account_or_partner_object.initial_balance" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>
  261. </span>
  262. </t>
  263. </div>
  264. <t t-if="foreign_currency">
  265. <t t-if="account.account_id.currency_id.id">
  266. <div class="act_as_cell amount" style="width: 2.08%;">
  267. <span t-field="account.account_id.currency_id.display_name"/>
  268. </div>
  269. <div class="act_as_cell amount" style="width: 5.19%;">
  270. <t t-if="type == 'account_type'">
  271. <t t-set="domain"
  272. t-value="[('account_id', '=', account_or_partner_object.account_id.id),
  273. ('date', '&lt;', o.date_from)]"/>
  274. <span>
  275. <a t-att-data-domain="domain"
  276. t-att-data-res-model="'account.move.line'"
  277. class="o_account_financial_reports_web_action_monetary_multi"
  278. style="color: black;">
  279. <t t-raw="account_or_partner_object.initial_balance_foreign_currency" t-options="{'widget': 'monetary', 'display_currency': account.account_id.currency_id}"/></a>
  280. </span>
  281. </t>
  282. <t t-if="type == 'partner_type'">
  283. <t t-set="domain"
  284. t-value="[('account_id', '=', account_or_partner_object.report_account_id.account_id.id),
  285. ('partner_id', '=', account_or_partner_object.partner_id.id),
  286. ('date', '&lt;', o.date_from)]"/>
  287. <span>
  288. <a t-att-data-domain="domain"
  289. t-att-data-res-model="'account.move.line'"
  290. class="o_account_financial_reports_web_action_monetary_multi"
  291. style="color: black;">
  292. <t t-raw="account_or_partner_object.initial_balance_foreign_currency" t-options="{'widget': 'monetary', 'display_currency': account.account_id.currency_id}"/></a>
  293. </span>
  294. </t>
  295. </div>
  296. </t>
  297. <t t-if="not account.account_id.currency_id.id">
  298. <div class="act_as_cell" style="width: 2.08%;"/>
  299. <div class="act_as_cell" style="width: 5.19%;"/>
  300. </t>
  301. </t>
  302. </div>
  303. <!-- Display each lines -->
  304. <t t-foreach="account_or_partner_object.move_line_ids" t-as="line">
  305. <!-- # lines or centralized lines -->
  306. <div class="act_as_row lines">
  307. <!--## date-->
  308. <div class="act_as_cell left">
  309. <t t-set="res_model" t-value="'account.move.line'"/>
  310. <span>
  311. <a t-att-data-active-id="line.move_line_id.id"
  312. t-att-data-res-model="res_model"
  313. class="o_account_financial_reports_web_action"
  314. style="color: black;">
  315. <!--## We don't use t-field because it throws an error on click -->
  316. <t t-esc="line.date" t-options="{'widget': 'date'}"/></a>
  317. </span>
  318. </div>
  319. <!--## move-->
  320. <div class="act_as_cell left">
  321. <t t-set="res_model" t-value="'account.move'"/>
  322. <span>
  323. <a t-att-data-active-id="line.move_line_id.move_id.id"
  324. t-att-data-res-model="res_model"
  325. class="o_account_financial_reports_web_action"
  326. style="color: black;">
  327. <t t-raw="line.entry"/></a>
  328. </span>
  329. </div>
  330. <!--## journal-->
  331. <div class="act_as_cell left">
  332. <t t-set="res_model" t-value="'account.journal'"/>
  333. <span>
  334. <a t-att-data-active-id="line.move_line_id.move_id.journal_id.id"
  335. t-att-data-res-model="res_model"
  336. class="o_account_financial_reports_web_action"
  337. style="color: black;">
  338. <t t-raw="line.journal"/></a>
  339. </span>
  340. </div>
  341. <!--## account code-->
  342. <div class="act_as_cell left">
  343. <t t-set="res_model" t-value="'account.account'"/>
  344. <span>
  345. <a t-att-data-active-id="line.move_line_id.account_id.id"
  346. t-att-data-res-model="res_model"
  347. class="o_account_financial_reports_web_action"
  348. style="color: black;">
  349. <t t-raw="line.account"/></a>
  350. </span>
  351. </div>
  352. <!--## taxes-->
  353. <div class="act_as_cell left"><span t-field="line.taxes_description"/></div>
  354. <!--## partner-->
  355. <div class="act_as_cell left">
  356. <t t-set="res_model" t-value="'res.partner'"/>
  357. <span t-if="line.partner">
  358. <a t-att-data-active-id="line.move_line_id.partner_id.id"
  359. t-att-data-res-model="res_model"
  360. class="o_account_financial_reports_web_action"
  361. style="color: black;"><t t-raw="line.partner"/></a>
  362. </span>
  363. </div>
  364. <!--## ref - label-->
  365. <div class="act_as_cell left">
  366. <t t-set="res_model" t-value="'account.move.line'"/>
  367. <span>
  368. <a t-att-data-active-id="line.move_line_id.id"
  369. t-att-data-res-model="res_model"
  370. class="o_account_financial_reports_web_action"
  371. style="color: black;">
  372. <t t-raw="line.label"/></a>
  373. </span>
  374. </div>
  375. <!--## cost_center-->
  376. <t t-if="show_cost_center">
  377. <div class="act_as_cell left">
  378. <t t-set="res_model" t-value="'account.analytic.account'"/>
  379. <span t-if="line.cost_center">
  380. <a t-att-data-active-id="line.move_line_id.analytic_account_id.id"
  381. t-att-data-res-model="res_model"
  382. class="o_account_financial_reports_web_action"
  383. style="color: black;"><t t-raw="line.cost_center"/></a>
  384. </span>
  385. </div>
  386. </t>
  387. <t t-if="show_analytic_tags">
  388. <!--## analytic tags-->
  389. <div class="act_as_cell left"><span t-field="line.tags"/></div>
  390. </t>
  391. <!--## matching_number-->
  392. <div class="act_as_cell">
  393. <t t-set="res_model" t-value="'account.full.reconcile'"/>
  394. <span t-if="line.matching_number">
  395. <a t-att-data-active-id="line.move_line_id.full_reconcile_id.id"
  396. t-att-data-res-model="res_model"
  397. class="o_account_financial_reports_web_action"
  398. style="color: black;"><t t-raw="line.matching_number"/></a>
  399. </span>
  400. </div>
  401. <!--## debit-->
  402. <div class="act_as_cell amount">
  403. <t t-set="res_model" t-value="'account.move.line'"/>
  404. <span>
  405. <a t-att-data-active-id="line.move_line_id.id"
  406. t-att-data-res-model="res_model"
  407. class="o_account_financial_reports_web_action_monetary"
  408. style="color: black;">
  409. <t t-raw="line.debit" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>
  410. </span>
  411. </div>
  412. <!--## credit-->
  413. <div class="act_as_cell amount">
  414. <t t-set="res_model" t-value="'account.move.line'"/>
  415. <span>
  416. <a t-att-data-active-id="line.move_line_id.id"
  417. t-att-data-res-model="res_model"
  418. class="o_account_financial_reports_web_action_monetary"
  419. style="color: black;">
  420. <t t-raw="line.credit" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>
  421. </span>
  422. </div>
  423. <!--## balance cumulated-->
  424. <div class="act_as_cell amount">
  425. <t t-set="res_model" t-value="'account.move.line'"/>
  426. <span>
  427. <a t-att-data-active-id="line.move_line_id.id"
  428. t-att-data-res-model="res_model"
  429. class="o_account_financial_reports_web_action_monetary"
  430. style="color: black;">
  431. <t t-raw="line.cumul_balance" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/></a>
  432. </span>
  433. </div>
  434. <t t-if="foreign_currency">
  435. <t t-if="line.currency_id.id">
  436. <!--## currency_name-->
  437. <div class="act_as_cell amount" style="width: 2.08%;">
  438. <span t-field="line.currency_id.display_name"/>
  439. </div>
  440. <!--## amount_currency-->
  441. <div class="act_as_cell amount" style="width: 5.19%;">
  442. <t t-set="res_model" t-value="'account.move.line'"/>
  443. <span>
  444. <a t-att-data-active-id="line.move_line_id.id"
  445. t-att-data-res-model="res_model"
  446. class="o_account_financial_reports_web_action"
  447. style="color: black;">
  448. <t t-raw="line.amount_currency" t-options="{'widget': 'monetary', 'display_currency': line.currency_id}"/></a>
  449. </span>
  450. </div>
  451. </t>
  452. <t t-if="not line.currency_id.id">
  453. <!--## currency_name-->
  454. <div class="act_as_cell amount" style="width: 2.08%;"/>
  455. <!--## amount_currency-->
  456. <div class="act_as_cell amount" style="width: 5.19%;"/>
  457. </t>
  458. </t>
  459. </div>
  460. </t>
  461. </div>
  462. </template>
  463. <template id="account_financial_report.report_general_ledger_ending_cumul">
  464. <!-- Display ending balance line for account or partner -->
  465. <div class="act_as_table list_table" style="width: 100%;">
  466. <div class="act_as_row labels" style="font-weight: bold;">
  467. <!--## date-->
  468. <t t-if='type == "account_type"'>
  469. <div class="act_as_cell first_column"
  470. style="width: 41.32%;"><span
  471. t-field="account_or_partner_object.code"/> - <span t-field="account_or_partner_object.name"/></div>
  472. <div class="act_as_cell right"
  473. style="width: 22.9%;">Ending balance</div>
  474. </t>
  475. <t t-if='type == "partner_type"'>
  476. <div class="act_as_cell first_column" style="width: 41.32%;"/>
  477. <div class="act_as_cell right" style="width: 22.9%;">Partner ending balance</div>
  478. </t>
  479. <t t-if="show_cost_center">
  480. <!--## cost_center-->
  481. <div class="act_as_cell" style="width: 8.03%"/>
  482. </t>
  483. <t t-if="show_analytic_tags">
  484. <!--## analytic tags-->
  485. <div class="act_as_cell" style="width: 4.75%;"></div>
  486. </t>
  487. <!--## matching_number-->
  488. <div class="act_as_cell" style="width: 2.41%;"/>
  489. <!--## debit-->
  490. <div class="act_as_cell amount" style="width: 6.02%;">
  491. <span t-field="account_or_partner_object.final_debit" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  492. </div>
  493. <!--## credit-->
  494. <div class="act_as_cell amount" style="width: 6.02%;">
  495. <span t-field="account_or_partner_object.final_credit" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  496. </div>
  497. <!--## balance cumulated-->
  498. <div class="act_as_cell amount" style="width: 6.02%;">
  499. <span t-field="account_or_partner_object.final_balance" t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"/>
  500. </div>
  501. <!--## currency_name + amount_currency-->
  502. <t t-if="foreign_currency">
  503. <t t-if="account.account_id.currency_id.id">
  504. <div class="act_as_cell amount" style="width: 2.08%;">
  505. <span t-field="account.account_id.currency_id.display_name"/>
  506. </div>
  507. <div class="act_as_cell amount" style="width: 5.19%;">
  508. <t t-if="type == 'account_type'">
  509. <t t-set="domain"
  510. t-value="[('account_id', '=', account_or_partner_object.account_id.id),
  511. ('date', '&lt;', o.date_from)]"/>
  512. <span>
  513. <a t-att-data-domain="domain"
  514. t-att-data-res-model="'account.move.line'"
  515. class="o_account_financial_reports_web_action_monetary_multi"
  516. style="color: black;">
  517. <t t-raw="account_or_partner_object.final_balance_foreign_currency" t-options="{'widget': 'monetary', 'display_currency': account_or_partner_object.account_id.currency_id}"/></a>
  518. </span>
  519. </t>
  520. <t t-if="type == 'partner_type'">
  521. <t t-set="domain"
  522. t-value="[('account_id', '=', account_or_partner_object.report_account_id.account_id.id),
  523. ('partner_id', '=', account_or_partner_object.partner_id.id),
  524. ('date', '&lt;', o.date_from)]"/>
  525. <span>
  526. <a t-att-data-domain="domain"
  527. t-att-data-res-model="'account.move.line'"
  528. class="o_account_financial_reports_web_action_monetary_multi"
  529. style="color: black;">
  530. <t t-raw="account_or_partner_object.final_balance_foreign_currency" t-options="{'widget': 'monetary', 'display_currency': account_or_partner_object.report_account_id.currency_id}"/></a>
  531. </span>
  532. </t>
  533. </div>
  534. </t>
  535. <t t-if="not account.account_id.currency_id ">
  536. <div class="act_as_cell amount" style="width: 2.08%;"/>
  537. <div class="act_as_cell amount" style="width: 5.19%;"/>
  538. </t>
  539. </t>
  540. </div>
  541. </div>
  542. </template>
  543. </odoo>