[IMP] account: display product in account.move.line's form view

Before that, there was no way of opening the product related to an invoice line once the invoice had been validated.

closes odoo/odoo#36336

Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
This commit is contained in:
Olivier Colson
2019-09-02 13:11:22 +00:00
parent 1086b6403c
commit 0058e12469
@@ -61,6 +61,9 @@
<field name="currency_id" invisible="1"/>
<field name="amount_currency"/>
</group>
<group string="Product" attrs="{'invisible': [('product_id', '=', False)]}">
<field name="product_id"/>
</group>
<group string="States">
<field name="blocked"/>
</group>