Backed out changeset 0f30bdca58da
This commit is contained in:
parent
0da56f36c0
commit
7fe7b18813
|
@ -1,22 +0,0 @@
|
|||
# HG changeset patch
|
||||
# User Sergi Almacellas Abellana <sergi@koolpi.com>
|
||||
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()
|
||||
|
Loading…
Reference in New Issue