l10n_ch: res.partner.bank name_get overrides the original one

Bug #1066854 reported by Guewen Baconnier @ Camptocamp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

Hi,

In l10n_ch, the res.partner.bank model defines a particular name_get which hard-code the name with name + account type.

That's no more reliable since 6.1 (maybe 6.0, not checked), because the account numbers are no longer stored in the "name" field but in a different field according to the account type (post_number / acc_number ...).

So the account number always displays a "/" instead of the account number ('/ : BVRBANK' for example).

It also shadows the original name_get which use a configurable template on the bank account types.

I attach 2 merges proposal to solve this bug, one for the 6.1 release and the other for the trunk one.

Guewen

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.