l10n_ch: res.partner.bank name_get overrides the original one
Bug #1066854 reported by
Guewen Baconnier @ Camptocamp
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
Related branches
lp:~camptocamp/openobject-addons/6.1-l10n_ch-bankaccount-name_get-lp1066854
Ready for review
for merging
into
lp:openobject-addons/6.1
- OpenERP Core Team: Pending requested
-
Diff: 25 lines (+0/-15)1 file modifiedl10n_ch/bank.py (+0/-15)
lp:~camptocamp/openobject-addons/trunk-l10n_ch-bankaccount-name_get-lp1066854
- OpenERP Core Team: Pending requested
-
Diff: 25 lines (+0/-15)1 file modifiedl10n_ch/bank.py (+0/-15)
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.