diff --git a/modules/account/fiscalyear.py b/modules/account/fiscalyear.py index 4042497481..4c1b915f5d 100644 --- a/modules/account/fiscalyear.py +++ b/modules/account/fiscalyear.py @@ -158,7 +158,7 @@ class FiscalYear(Workflow, ModelSQL, ModelView): prefix=sequence.prefix, suffix=sequence.suffix, type=sequence.type, - number_next_internal=sequence.number_next_internal, + number_next=sequence.number_next, number_increment=sequence.number_increment, padding=sequence.padding, timestamp_rounding=sequence.timestamp_rounding, diff --git a/modules/account/period.py b/modules/account/period.py index 42bb245923..9d327202f2 100644 --- a/modules/account/period.py +++ b/modules/account/period.py @@ -154,7 +154,7 @@ class Period(Workflow, ModelSQL, ModelView): prefix=sequence.prefix, suffix=sequence.suffix, type=sequence.type, - number_next_internal=sequence.number_next_internal, + number_next=sequence.number_next, number_increment=sequence.number_increment, padding=sequence.padding, timestamp_rounding=sequence.timestamp_rounding,