[REF] base, res.partner.bank: removed footer boolean which was unused and deprecated: the rml_footer2 is now fully editable since revision 4198 (12th of June 2012)

bzr revid: qdp-launchpad@openerp.com-20120723160554-3v4j4mvh2kbu1g4k
This commit is contained in:
Quentin (OpenERP) 2012-07-23 18:05:54 +02:00
parent 804651f646
commit b09784c5ff
2 changed files with 1 additions and 5 deletions

View File

@ -139,7 +139,6 @@ class res_partner_bank(osv.osv):
'state': fields.selection(_bank_type_get, 'Bank Account Type', required=True,
change_default=True),
'sequence': fields.integer('Sequence'),
'footer': fields.boolean("Display on Reports", help="Display this bank account on the footer of printed documents like invoices and sales orders.")
}
_defaults = {
@ -212,7 +211,6 @@ class res_partner_bank(osv.osv):
if c.partner_id:
r = self.onchange_partner_id(cr, uid, ids, c.partner_id.id, context=context)
r['value']['partner_id'] = c.partner_id.id
r['value']['footer'] = 1
result = r
return result

View File

@ -97,7 +97,6 @@
<field name="state"/>
<field name="acc_number"/>
<field name="company_id" on_change="onchange_company_id(company_id)" invisible="context.get('company_hide', True)" widget="selection"/>
<field name="footer" attrs="{'invisible': [('company_id','=',False)]}"/>
</group>
<group>
<group name="owner" string="Bank Account Owner">
@ -134,7 +133,6 @@
<field name="acc_number"/>
<field name="bank_name"/>
<field name="company_id" invisible="context.get('company_hide', True)"/>
<field name="footer" invisible="context.get('company_hide', True)"/>
<field name="partner_id"/>
</tree>
</field>
@ -159,7 +157,7 @@
<field name="res_model">res.partner.bank</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="help">Configure your company's bank accounts and select those that must appear on the report footer. You can reorder bank accounts from the list view. If you use the accounting application of OpenERP, journals and accounts will be created automatically based on these data.</field>
<field name="help">Configure your company's bank accounts. You can reorder bank accounts from the list view. If you use the accounting application of OpenERP, journals and accounts will be created automatically based on these data.</field>
</record>
<menuitem action="action_res_partner_bank_account_form"
id="menu_action_res_partner_bank_form"