[FIX] base: Wrong view displayed

Steps to reproduce the bug:

- Go to Contact app
- click on Configuration > Bank accounts
- Create a new one

Bug:

It was impossible because the field partner_id was hidden.
The form view view_company_partner_bank_form was displayed instead
of view_partner_bank_form.

opw:1908114

closes odoo/odoo#28916
This commit is contained in:
Goffin Simon
2018-11-26 12:25:11 +00:00
parent a9c9a3d8e4
commit b27c5e0c36
@@ -60,6 +60,7 @@
<record id="view_partner_bank_form" model="ir.ui.view">
<field name="name">res.partner.bank.form</field>
<field name="model">res.partner.bank</field>
<field name="priority">15</field>
<field name="arch" type="xml">
<form string="Bank account">
<group>