mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-02-11 23:59:31 -06:00
Try this way
This commit is contained in:
@@ -501,7 +501,7 @@ class ConsumerPlugin(
|
||||
pk=self.input_doc.root_document_id,
|
||||
)
|
||||
self.log.debug("Saving record for updated version to database")
|
||||
original_document.pk = None
|
||||
setattr(original_document, "pk", None)
|
||||
original_document.root_document = root_doc
|
||||
file_for_checksum = (
|
||||
self.unmodified_original
|
||||
|
||||
Reference in New Issue
Block a user