[FIX] res.partner.bank: the state field must be present in all form/tree views

res.partner.bank overrides fields_get() and sometimes adds
extra `states` attributes on the fields. This requires the
presence of the special `state` field in all views.

lp bug: https://launchpad.net/bugs/1068822 fixed

bzr revid: odo@openerp.com-20130131135609-igsw8ne154av9vso
This commit is contained in:
Olivier Dony 2013-01-31 14:56:09 +01:00
parent 51eec43574
commit 0578f0269d
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@
<field name="model">res.partner.bank</field>
<field name="arch" type="xml">
<tree string="Bank Accounts">
<field name="state" invisible="1"/>
<field name="sequence" invisible="1"/>
<field name="acc_number"/>
<field name="bank_name"/>