[FIX] account: restore "outstanding" ID

Steps to reproduce
------------------
* go create an invoice for a customer that has outstanding credits.
* in the blue message at the top, click the "outstanding credits" text
  in bold.

You should see that you're taken to the home page. We expect to be taken
to the bottom of the invoice, where the outstanding credits are
displayed.

Cause
-----
A static HTML ID was mistaken for a variable in
d682871a8b.

opw-3691932

closes odoo/odoo#150153

Signed-off-by: de Wouters de Bouchout Jean-Benoît (jbw) <jbw@odoo.com>
This commit is contained in:
sesn-odoo
2024-01-22 07:57:05 +00:00
parent a34599c65b
commit 70a4ff9000
@@ -7,7 +7,7 @@
<t t-set="info" t-value="this.getInfo()"/>
<t t-if="info.outstanding">
<div>
<strong class="float-start" id="info.outstanding" t-out="info.title"/>
<strong class="float-start" id="outstanding" t-out="info.title"/>
</div>
</t>
<table style="width:100%;">