diff --git a/issue16351002_1.diff b/issue16351002_1.diff new file mode 100644 index 0000000..946fa7f --- /dev/null +++ b/issue16351002_1.diff @@ -0,0 +1,22 @@ +# HG changeset patch +# User Sergi Almacellas Abellana +Always return a list on ModelSQL create + +issue4822 +review16351002 + +Index: trytond/trytond/model/modelsql.py +=================================================================== + +--- a/trytond/trytond/model/modelsql.py ++++ b/trytond/trytond/model/modelsql.py +@@ -406,7 +406,7 @@ + super(ModelSQL, cls).create(vlist) + + if cls.table_query(): +- return False ++ return [] + + table = cls.__table__() + modified_fields = set() + diff --git a/series b/series index 3a3b8ab..08be458 100644 --- a/series +++ b/series @@ -53,3 +53,4 @@ issue15251002_1.diff issue9801002_40001.diff issue19281002_1.diff issue13181002_1.diff +issue16351002_1.diff