From d2e90dd4bb999ec9313c195c943eb9905f87f803 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Tue, 25 Jul 2017 09:54:24 +0200 Subject: [PATCH] Pass pattern argument on multivalue default fields issue6658 review40541002 --- journal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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