diff --git a/trytond/trytond/model/modelsingleton.py b/trytond/trytond/model/modelsingleton.py index 1d51ed5e51..2a33614d8b 100644 --- a/trytond/trytond/model/modelsingleton.py +++ b/trytond/trytond/model/modelsingleton.py @@ -58,7 +58,9 @@ class ModelSingleton(ModelStorage): singleton = cls.get_singleton() if not singleton: singleton, = cls.create([values]) - actions = (records, values) + args + actions = (records, {}) + args + else: + actions = (records, values) + args args = [] for values in actions[1:None:2]: args.extend(([singleton], values))