Browse Source

[FIX] account_financial_report_qweb: Widget date for t-raw date (#483)

pull/484/head
Abraham Anes 6 years ago
committed by Pedro M. Baeza
parent
commit
a436052687
  1. 6
      account_financial_report/report/templates/aged_partner_balance.xml
  2. 3
      account_financial_report/report/templates/general_ledger.xml

6
account_financial_report/report/templates/aged_partner_balance.xml

@ -219,7 +219,8 @@
t-att-data-res-model="'account.move.line'" t-att-data-res-model="'account.move.line'"
class="o_account_financial_reports_web_action" class="o_account_financial_reports_web_action"
style="color: black;"> style="color: black;">
<t t-raw="line.date"/></a>
<!--## We don't use t-field because it throws an error on click -->
<t t-esc="line.date" t-options="{'widget': 'date'}"/></a>
</span> </span>
</div> </div>
<!--## move--> <!--## move-->
@ -279,7 +280,8 @@
t-att-data-res-model="'account.move.line'" t-att-data-res-model="'account.move.line'"
class="o_account_financial_reports_web_action" class="o_account_financial_reports_web_action"
style="color: black;"> style="color: black;">
<t t-raw="line.date_due"/></a>
<!--## We don't use t-field because it throws an error on click -->
<t t-esc="line.date_due" t-options="{'widget': 'date'}"/></a>
</span> </span>
</div> </div>
<!--## amount_residual--> <!--## amount_residual-->

3
account_financial_report/report/templates/general_ledger.xml

@ -309,7 +309,8 @@
t-att-data-res-model="res_model" t-att-data-res-model="res_model"
class="o_account_financial_reports_web_action" class="o_account_financial_reports_web_action"
style="color: black;"> style="color: black;">
<t t-raw="line.date"/></a>
<!--## We don't use t-field because it throws an error on click -->
<t t-esc="line.date" t-options="{'widget': 'date'}"/></a>
</span> </span>
</div> </div>
<!--## move--> <!--## move-->

Loading…
Cancel
Save