Importing MT940 statements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Community Leaders |
New
|
Undecided
|
Unassigned |
Bug Description
When importing MT940 statements with the bankimport module, an integrity error occurs as in the log file below.
[2009-11-24 04:08:33,390] ERROR:orm:[02]: Environment Information :
[2009-11-24 04:08:33,390] ERROR:orm:[03]: System : Linux-2.
[2009-11-24 04:08:33,390] ERROR:orm:[04]: OS Name : posix
[2009-11-24 04:08:33,391] ERROR:orm:[05]: Distributor ID: Ubuntu
[2009-11-24 04:08:33,391] ERROR:orm:[06]: Description: Ubuntu 8.04.3 LTS
[2009-11-24 04:08:33,392] ERROR:orm:[07]: Release: 8.04
[2009-11-24 04:08:33,392] ERROR:orm:[08]: Codename: hardy
[2009-11-24 04:08:33,392] ERROR:orm:[09]: Operating System Release : 2.6.24-25-generic
[2009-11-24 04:08:33,393] ERROR:orm:[10]: Operating System Version : #1 SMP Tue Oct 20 07:31:10 UTC 2009
[2009-11-24 04:08:33,393] ERROR:orm:[11]: Operating System Architecture : 32bit
[2009-11-24 04:08:33,394] ERROR:orm:[12]: Operating System Locale : en_US.UTF8
[2009-11-24 04:08:33,394] ERROR:orm:[13]: Python Version : 2.5.2
[2009-11-24 04:08:33,394] ERROR:orm:[14]: OpenERP-Server Version : 5.0.6
[2009-11-24 04:08:33,395] ERROR:orm:[15]: Last revision No. & ID :
[2009-11-24 04:08:33,395] ERROR:orm:[16]: Programming error: field 'def_rec_acc' does not exist in object 'res.partner.bank' !
[2009-11-24 04:08:34,248] ERROR:orm:[01]:
[2009-11-24 04:08:34,249] ERROR:orm:[02]: Environment Information :
[2009-11-24 04:08:34,252] ERROR:orm:[03]: System : Linux-2.
[2009-11-24 04:08:34,252] ERROR:orm:[04]: OS Name : posix
[2009-11-24 04:08:34,253] ERROR:orm:[05]: Distributor ID: Ubuntu
[2009-11-24 04:08:34,253] ERROR:orm:[06]: Description: Ubuntu 8.04.3 LTS
[2009-11-24 04:08:34,254] ERROR:orm:[07]: Release: 8.04
[2009-11-24 04:08:34,254] ERROR:orm:[08]: Codename: hardy
[2009-11-24 04:08:34,254] ERROR:orm:[09]: Operating System Release : 2.6.24-25-generic
[2009-11-24 04:08:34,255] ERROR:orm:[10]: Operating System Version : #1 SMP Tue Oct 20 07:31:10 UTC 2009
[2009-11-24 04:08:34,255] ERROR:orm:[11]: Operating System Architecture : 32bit
[2009-11-24 04:08:34,256] ERROR:orm:[12]: Operating System Locale : en_US.UTF8
[2009-11-24 04:08:34,256] ERROR:orm:[13]: Python Version : 2.5.2
[2009-11-24 04:08:34,257] ERROR:orm:[14]: OpenERP-Server Version : 5.0.6
[2009-11-24 04:08:34,258] ERROR:orm:[15]: Last revision No. & ID :
[2009-11-24 04:08:34,258] ERROR:orm:[16]: Programming error: field 'def_rec_acc' does not exist in object 'res.partner.bank' !
[2009-11-24 04:08:35,812] ERROR:web-
[2009-11-24 04:08:35,813] ERROR:web-
[2009-11-24 04:08:35,813] ERROR:web-
[2009-11-24 04:08:35,814] ERROR:web-
[2009-11-24 04:08:35,814] ERROR:web-
[2009-11-24 04:08:35,815] ERROR:web-
[2009-11-24 04:08:35,815] ERROR:web-
[2009-11-24 04:08:35,815] ERROR:web-
[2009-11-24 04:08:35,816] ERROR:web-
[2009-11-24 04:08:35,816] ERROR:web-
[2009-11-24 04:08:35,817] ERROR:web-
[2009-11-24 04:08:35,818] ERROR:web-
[2009-11-24 04:08:35,818] ERROR:web-
[2009-11-24 04:08:35,818] ERROR:web-
[2009-11-24 04:08:35,819] ERROR:web-
[2009-11-24 04:08:35,819] ERROR:web-
[2009-11-24 04:08:35,820] ERROR:web-
[2009-11-24 04:08:35,820] ERROR:web-
[2009-11-24 04:08:35,820] ERROR:web-
[2009-11-24 04:08:35,821] ERROR:web-
[2009-11-24 04:08:35,821] ERROR:web-
[2009-11-24 04:08:35,822] ERROR:web-
[2009-11-24 04:08:35,822] ERROR:web-
[2009-11-24 04:08:35,823] ERROR:web-
[2009-11-24 04:08:35,823] ERROR:web-
[2009-11-24 04:08:35,823] ERROR:web-
Error = Programming error: field 'def_rec_acc' does not exist in object 'res.partner.bank' !
Are you sure it is a bug you did log? Because this is a variable that seems not filled. This variable contains the default receivable account defined for your company and that one seems empty.
I can not reproduce this in my environment. Please check you company setup and general ledger setup. Normally these accounts (account receivable and account payable) are defined within your chart module.