[6.1, 7.0, account] Aged partner balance off by one day wrt. reconciliations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
account/
WHERE account_
where the report start date (e.g. '2013-08-09') is substituted in the argument. Of course, create_date is not a field of type date but of datetime. A datetime argument like '2013-08-09' constitutes the *start* of the day, so that the expression is actually true for any time on that very day. The effect is that reconciliations of the start date of the report are ignored, and the amounts of the reconciled move lines will feature in the report.
Accountants checking the results of the reconcilations that they just made may be surprised (if not worried).
A solution could be to craft the query arguments in the form of '2013-08-09 23:59:59', so that reconciliations created on the report start date are taken into account.
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 84 lines (+9/-9)1 file modifiedaccount/report/account_aged_partner_balance.py (+9/-9)
- Guewen Baconnier @ Camptocamp: Approve
- Holger Brunn (Therp): Approve (code review)
-
Diff: 84 lines (+9/-9)1 file modifiedaccount/report/account_aged_partner_balance.py (+9/-9)
- Guewen Baconnier @ Camptocamp: Approve
- Holger Brunn (Therp): Approve (code review)
-
Diff: 84 lines (+9/-9)1 file modifiedaccount/report/account_aged_partner_balance.py (+9/-9)
description: | updated |
Hello Stefan,
Thanks for the fix!
Our Core team will review your branch!