[6.1] Banking addons: AttributeError: 'bool' object has no attribute 'upper'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Banking Addons |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hello,
On importing a Mt940 Raboban statement i get an error
Traceback (most recent call last):
File "C:\Program Files\OpenERP 6.1\Server\
File "C:\Program Files\OpenERP 6.1\Server\
File "C:\Program Files\OpenERP 6.1\Server\
File "C:\Program Files\OpenERP 6.1\Server\
File "C:\Program Files\OpenERP 6.1\Server\
File "C:\Program Files\OpenERP 6.1\Server\
File "C:\Program Files\OpenERP 6.1\Server\
AttributeError: 'bool' object has no attribute 'upper'
I have solved it by changing 2 lines in: account_
from:
299 ref = trans.reference
300 msg = trans.message.
to:
299 ref = trans.reference and trans.reference
300 msg = trans.message and trans.message.
So, hope this is ok and can be adopted in code.
Changed in banking-addons: | |
status: | New → Confirmed |
Please find the attached Patch file for the same .