nodoc column is defined as integer, convert it to string for indexes
This commit is contained in:
parent
0419f0e243
commit
f5e3496dbe
|
@ -762,7 +762,10 @@ class SyncFromPcfDbView(BrowserView):
|
|||
object.session = sess
|
||||
object.date = date
|
||||
object.no = no
|
||||
object.nodoc = nodoc
|
||||
if nodoc:
|
||||
object.nodoc = str(nodoc)
|
||||
else:
|
||||
object.nodoc = None
|
||||
object.doctype = doctype
|
||||
object.file_image_id = image_id
|
||||
object.topics = topics
|
||||
|
|
Reference in New Issue