[MERGE] : Merge with lp:~openerp-dev/openobject-server/trunk-res_bank-remove-footer-qdp.

bzr revid: mdi@tinyerp.com-20120807110244-ee8gq3vqsdmjtl8z
This commit is contained in:
Divyesh Makwana (Open ERP)
2012-08-07 16:32:44 +05:30
2 changed files with 1 additions and 5 deletions
-2
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
+1 -3
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>
@@ -157,7 +155,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"