[FIX] account: hide meaningless measures from the pivot view

The fields amount_total, amount_total_signed, residual, residual_signed,
all sum values that are unsigned or in different units, as they may be in
different currencies.
Therefore their display in the pivot view can be confusing, misleading,
and may lead people to file bug reports.

Since support for hiding measures has been added in commit 24f7c7ce7f,
we remove these fields from view.

opw 1909046

closes odoo/odoo#29211
This commit is contained in:
len-odoo
2018-12-05 08:15:21 +00:00
parent 332d43ebd4
commit 97aec9f836
@@ -20,7 +20,11 @@
<field name="arch" type="xml">
<pivot string="Invoices" display_quantity="true">
<field name="partner_id"/>
<field name="amount_total_signed" type="measure"/>
<field name="amount_total_company_signed" type="measure"/>
<field name="amount_total_signed" invisible="1"/>
<field name="amount_total" invisible="1"/>
<field name="residual_signed" invisible="1"/>
<field name="residual" invisible="1"/>
</pivot>
</field>
</record>