Skip to content
Snippets Groups Projects
Commit 13d0934f authored by Vincent Renaville's avatar Vincent Renaville Committed by Martin Trigaux
Browse files

[FIX] account: chart of account opening period selection

If a special period is present, it must be selected fist
Fixes #3946
parent 419d9341
Branches
Tags
No related merge requests found
......@@ -51,7 +51,7 @@ class account_chart(osv.osv_memory):
FROM account_period p
LEFT JOIN account_fiscalyear f ON (p.fiscalyear_id = f.id)
WHERE f.id = %s
ORDER BY p.date_start ASC
ORDER BY p.date_start ASC, p.special DESC
LIMIT 1) AS period_start
UNION ALL
SELECT * FROM (SELECT p.id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment