diff --git a/journal.py b/journal.py index 82cc639012..61689d0471 100644 --- a/journal.py +++ b/journal.py @@ -135,8 +135,8 @@ class Journal(ModelSQL, ModelView, CompanyMultiValueMixin): def default_active(): return True - @staticmethod - def default_sequence(): + @classmethod + def default_sequence(cls, **pattern): return None @staticmethod