[FIX] account: the state field of res.partner.bank must be present in all form/tree views
This is the second part of the fix for bug 1068822. 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-20130225141014-zqbzbldqkl997lfu
This commit is contained in:
@@ -95,6 +95,7 @@
|
||||
</group>
|
||||
<field name="bank_ids" context="{'default_partner_id': active_id, 'form_view_ref': 'base.view_partner_bank_form'}">
|
||||
<tree string="Bank Details">
|
||||
<field name="state" invisible="1"/>
|
||||
<field name="sequence" invisible="1"/>
|
||||
<field name="acc_number"/>
|
||||
<field name="bank_name"/>
|
||||
|
||||
Reference in New Issue
Block a user