[FIX] account: Fix mobile view of invoice's lines.

The invisible fields are not there for the fun...

closes odoo/odoo#41066

X-original-commit: e26946c5da9aa3a656e3368ec98e9806b2c7ba54
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
This commit is contained in:
Laurent Smet
2019-11-28 13:41:09 +00:00
parent 07ddb43783
commit 358f633028
@@ -717,6 +717,7 @@
<field name="account_internal_type" invisible="1"/>
</tree>
<kanban class="o_kanban_mobile">
<!-- Displayed fields -->
<field name="name"/>
<field name="product_id"/>
<field name="price_subtotal" groups="account.group_show_line_subtotals_tax_excluded"/>
@@ -769,6 +770,28 @@
</div>
</t>
</templates>
<!-- Others fields -->
<field name="partner_id" invisible="1"/>
<field name="amount_currency" invisible="1"/>
<field name="currency_id" invisible="1"/>
<field name="debit" invisible="1"/>
<field name="credit" invisible="1"/>
<field name="date" invisible="1"/>
<field name="date_maturity" invisible="1"/>
<field name="tax_line_id" invisible="1"/>
<field name="tax_repartition_line_id" invisible="1"/>
<field name="tag_ids" invisible="1"/>
<field name="tax_base_amount" invisible="1"/>
<field name="tax_exigible" invisible="1"/>
<field name="company_id" invisible="1"/>
<field name="company_currency_id" invisible="1"/>
<field name="recompute_tax_line" invisible="1" force_save="1"/>
<field name="display_type" force_save="1" invisible="1"/>
<field name="is_rounding_line" invisible="1"/>
<field name="exclude_from_invoice_tab" invisible="1"/>
<field name="account_internal_type" invisible="1"/>
</kanban>
<form>
<sheet>