summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Wirtel <stw@openerp.com>2012-08-09 11:11:51 +0200
committerStephane Wirtel <stw@openerp.com>2012-08-09 11:11:51 +0200
commitc2d3136b6e51f71bbd2c411fcd0aee6bbcb2b174 (patch)
tree43090246d19dc449bfd0af9f4cddf974d287219e
parente46fb9fda8ba93d3eb8ac2907a75012f7a4d920e (diff)
parent9471b9f40c601cae208ef73a5edc785cb14cb149 (diff)
[MERGE] lp:~openerp-dev/openobject-server/trunk-res_bank_remove_footer-mdi
bzr revid: stw@openerp.com-20120809091151-tmm6047xbyfc8x2b
-rw-r--r--openerp/addons/base/res/res_bank.py2
-rw-r--r--openerp/addons/base/res/res_bank_view.xml4
2 files changed, 1 insertions, 5 deletions
diff --git a/openerp/addons/base/res/res_bank.py b/openerp/addons/base/res/res_bank.py
index c5c05c1807c..07719962866 100644
--- a/openerp/addons/base/res/res_bank.py
+++ b/openerp/addons/base/res/res_bank.py
@@ -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
diff --git a/openerp/addons/base/res/res_bank_view.xml b/openerp/addons/base/res/res_bank_view.xml
index 4409f23a501..96317df0068 100644
--- a/openerp/addons/base/res/res_bank_view.xml
+++ b/openerp/addons/base/res/res_bank_view.xml
@@ -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"