[FIX] account: Display monetary widget

Before this commit, the monetary widget was not applied to the `amount` field since there was no `currency_id` field on this view.

In this commit, We add `currency_id` field to make the monetary widget work.

closes odoo/odoo#47308

X-original-commit: 4205344cdc518e923a1f3be8cfca4c3ed2bfc3ef
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
This commit is contained in:
Swapnesh Shah
2020-03-10 15:23:06 +00:00
committed by GitHub
parent 186733686f
commit f409a2a364
@@ -61,6 +61,7 @@
<div class="row">
<div class="col-6">
<field name="amount" widget='monetary'/>
<field name="currency_id" invisible="1"/>
</div>
<div class="col-6">
<span class="float-right">