Browse Source

[FIX] account_financial_report: allow navigation on all fields

TT29371
pull/776/head
João Marques 4 years ago
parent
commit
c6452763ec
  1. 26
      account_financial_report/report/templates/open_items.xml

26
account_financial_report/report/templates/open_items.xml

@ -186,16 +186,34 @@
</div>
<!--## journal-->
<div class="act_as_cell left">
<span t-esc="journals_data[line['journal_id']]['code']" />
<span
t-att-res-id="journals_data[line['journal_id']]['id']"
res-model="account.journal"
view-type="form"
>
<t t-esc="journals_data[line['journal_id']]['code']" />
</span>
</div>
<!--## account code-->
<div class="act_as_cell left">
<span t-esc="accounts_data[account_id]['code']" />
<span
t-att-res-id="accounts_data[account_id]['id']"
res-model="account.account"
view-type="form"
>
<t t-esc="accounts_data[account_id]['code']" />
</span>
</div>
<!--## partner-->
<div class="act_as_cell left">
<!-- <span t-if="line.get('partner_id', False)" t-esc="line['partner_id']"/>-->
<span t-esc="line['partner_name']" />
<span
t-if="line.get('partner_id', False)"
t-att-res-id="line['partner_id']"
res-model="res.partner"
view-type="form"
>
<t t-esc="line['partner_name']" />
</span>
</div>
<!--## ref - label-->
<div class="act_as_cell left">

Loading…
Cancel
Save