mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-18 04:56:33 -06:00
[FIX] set the data column to null when writing again
This commit is contained in:
parent
f8427fde66
commit
b61d73b42a
@ -95,6 +95,7 @@ class IrAttachment(Model):
|
|||||||
cr, uid, [attachment_data['id']],
|
cr, uid, [attachment_data['id']],
|
||||||
{
|
{
|
||||||
'datas': attachment_data['datas'],
|
'datas': attachment_data['datas'],
|
||||||
|
'db_datas': False,
|
||||||
},
|
},
|
||||||
context=context)
|
context=context)
|
||||||
if not counter % (len(attachment_ids) / 100 or limit):
|
if not counter % (len(attachment_ids) / 100 or limit):
|
||||||
|
Loading…
Reference in New Issue
Block a user