diff --git a/fiscalyear.py b/fiscalyear.py
index 4e0d85e33f..f28965c31d 100644
--- a/fiscalyear.py
+++ b/fiscalyear.py
@@ -37,6 +37,7 @@ class FiscalYear(Workflow, ModelSQL, ModelView):
domain=[
('company', '=', Eval('company')),
],
+ order=[('start_date', 'ASC'), ('id', 'ASC')],
depends=DEPENDS + ['company'])
state = fields.Selection([
('open', 'Open'),
@@ -58,7 +59,7 @@ class FiscalYear(Workflow, ModelSQL, ModelView):
@classmethod
def __setup__(cls):
super(FiscalYear, cls).__setup__()
- cls._order.insert(0, ('start_date', 'ASC'))
+ cls._order.insert(0, ('start_date', 'DESC'))
cls._transitions |= set((
('open', 'close'),
('close', 'locked'),
diff --git a/period.py b/period.py
index 69f41f7dde..159d907cdd 100644
--- a/period.py
+++ b/period.py
@@ -58,7 +58,7 @@ class Period(Workflow, ModelSQL, ModelView):
def __setup__(cls):
super(Period, cls).__setup__()
cls.__access__.add('fiscalyear')
- cls._order.insert(0, ('start_date', 'ASC'))
+ cls._order.insert(0, ('start_date', 'DESC'))
cls._transitions |= set((
('open', 'close'),
('close', 'locked'),
diff --git a/period.xml b/period.xml
index 4131f2af29..41be0c8c0e 100644
--- a/period.xml
+++ b/period.xml
@@ -74,6 +74,7 @@ this repository contains the full copyright notices and license terms. -->
account.period
+