Activity log for bug #1210524

Date Who What changed Old value New value Message
2013-08-09 13:28:11 Stefan Rijnhart (Opener) bug added bug
2013-08-09 13:29:06 Stefan Rijnhart (Opener) bug added subscriber Therp
2013-08-09 13:30:19 Stefan Rijnhart (Opener) description account/report/account_aged_partner_balance.py does a lot of queries in the form of WHERE account_move_reconcile.create_date > %s 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 te 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. account/report/account_aged_partner_balance.py does a lot of queries in the form of     WHERE account_move_reconcile.create_date > %s 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.
2013-08-09 13:34:12 Launchpad Janitor branch linked lp:~therp-nl/openobject-addons/7.0-lp1210524-aged_partner_balance_reconciations_off_by_one_day
2013-08-09 13:47:16 Stefan Rijnhart (Opener) branch linked lp:~therp-nl/ocb-addons/6.1-lp1210524-aged_partner_balance_reconciations_off_by_one_day
2013-08-09 13:47:38 Stefan Rijnhart (Opener) branch linked lp:~therp-nl/ocb-addons/7.0-lp1210524-aged_partner_balance_reconciations_off_by_one_day
2013-09-10 06:27:56 Amit Parik openobject-addons: importance Undecided Low
2013-09-10 06:27:56 Amit Parik openobject-addons: status New Fix Committed
2013-09-10 06:27:56 Amit Parik openobject-addons: assignee OpenERP R&D Addons Team 3 (openerp-dev-addons3)