[FIX] account: invoice pivot do not display unsigned

On the pivot view, there is the following unsigned measure fields:
"account_tax" and "account_untaxed".

It can cause mistakes since for example the sum of a invoice an its
full credit note should be zero, but here it will be double the amount.

So here we complete 97aec9f8 for two fields that were still available.

opw-2071027
closes #36940

closes odoo/odoo#36971

X-original-commit: 2dc8e2feec9e5b604e0c0acae52562822a113342
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
This commit is contained in:
Nicolas Lempereur
2019-09-16 14:59:08 +00:00
committed by fw-bot
parent fa283d3d4e
commit 80b1c12f09
@@ -21,8 +21,10 @@
<pivot string="Invoices" display_quantity="true">
<field name="partner_id"/>
<field name="amount_total_company_signed" type="measure"/>
<field name="amount_tax" invisible="1"/>
<field name="amount_total_signed" invisible="1"/>
<field name="amount_total" invisible="1"/>
<field name="amount_untaxed" invisible="1"/>
<field name="residual_signed" invisible="1"/>
<field name="residual" invisible="1"/>
</pivot>