Update number next instead of internal when migrate move's sequence to strict
The number next has a default value which override the internal value when the setter is called. Closes #14545
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user