[FIX] base: avoid having 'False' in name of a bank
authorSandy Carter <sandy.carter@savoirfairelinux.com>
Wed, 12 Nov 2014 18:56:41 +0000 (13:56 -0500)
committerMartin Trigaux <mat@odoo.com>
Thu, 27 Nov 2014 12:09:01 +0000 (13:09 +0100)
commit043f7b84b83ec0c40274af30e2731b1c05c3d520
tree62571636a19f648dc2f246867a364b02887e54f0
parent2461baa0dda461792d5c3f5a72cb8a98bc3877a1
[FIX] base: avoid having 'False' in name of a bank

The name_get of res.partner.bank uses the format_layout to generate the name
of the bank. As every field is not required, we may get 'False' in the name.
Replace these missing values by an empty string.

Fixes #3590
openerp/addons/base/res/res_bank.py