[IMP] edi : Removed the 'bank_ids' from 'Company Address' because 'rml_footer2' is now fully editable.

bzr revid: mdi@tinyerp.com-20120807122931-divkd8a9xhgtamzf
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-08-07 17:59:31 +05:30
parent 10b26a9edf
commit 917a361fa4
1 changed files with 0 additions and 7 deletions

View File

@ -47,13 +47,6 @@ class res_company(osv.osv):
result['logo'] = company.logo # already base64-encoded
if company.paypal_account:
result['paypal_account'] = company.paypal_account
# bank info: include only bank account supposed to be displayed in document footers
res_partner_bank = self.pool.get('res.partner.bank')
bank_ids = res_partner_bank.search(cr, uid, [('company_id','=',company.id)], context=context)
if bank_ids:
result['bank_ids'] = res_partner.edi_m2m(cr, uid,
res_partner_bank.browse(cr, uid, bank_ids, context=context),
context=context)
return result
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: