← Back to team overview

openerp-india team mailing list archive

[Bug 1066854] [NEW] l10n_ch: res.partner.bank name_get overrides the original one

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1066854

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

Status in OpenERP Addons (modules):
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1066854/+subscriptions


Follow ups

References