[MERGE] 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-20130131144800-4a4jsktg7omxbrmh
This commit is contained in:
Olivier Dony 2013-01-31 15:48:00 +01:00
commit e3862b17ef
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"/>