From 6fc2bd674f5064a29674e4b1ccba6bedd61f06ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= <> Date: Tue, 18 Oct 2011 19:03:15 +0530 Subject: [PATCH] [FIX] account : accounting report filter: period start and end are sometimes swapped lp bug: https://launchpad.net/bugs/870099 fixed bzr revid: bde@tinyerp.com-20111018133315-attph5jtw8adh4ww --- addons/account/wizard/account_report_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/wizard/account_report_common.py b/addons/account/wizard/account_report_common.py index 48130b041d0..8ae425e0b15 100644 --- a/addons/account/wizard/account_report_common.py +++ b/addons/account/wizard/account_report_common.py @@ -71,7 +71,7 @@ class account_common_report(osv.osv_memory): AND p.special = false ORDER BY p.date_start ASC, p.special ASC LIMIT 1) AS period_start - UNION + UNION ALL SELECT * FROM (SELECT p.id FROM account_period p LEFT JOIN account_fiscalyear f ON (p.fiscalyear_id = f.id)