Validating a Bank Statement with centralized option in bank journal crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 | ||
OpenERP Community Backports (Addons) |
New
|
Undecided
|
Unassigned | ||
6.1 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
6.1
Setup a demo database
Change the setting of bank journal and check the tickbox "Centralised Counterpart"
Make a bank statement with two lines and validate it
System crashes with following message
Server Traceback (most recent call last):
File "/home/
result = openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
self.
File "/home/
return super(account_
File "/home/
move_line_id = account_
File "/home/
tmp = move_obj.
File "/home/
self.
File "/home/
}, context)
File "/home/
tmp = move_obj.
File "/home/
self.
File "/home/
if not currency_
File "/home/
return float_is_
File "/home/
return abs(float_
File "/home/
normalized_
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 11 lines (+1/-0)1 file modifiedaccount/account_move_line.py (+1/-0)
- Alexandre Fayolle - camptocamp: Approve (code review, no test)
- Holger Brunn (Therp): Approve (code review)
-
Diff: 18 lines (+7/-1)1 file modifiedaccount/account.py (+7/-1)
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → New |
Hello Tempo,
Thanks for Reporting.
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-997316-mma
Revision ID: <email address hidden>
Revision num: 6783
It will be available in trunk soon.