[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
This commit is contained in:
parent
ccdcd1e55f
commit
6fc2bd674f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue