I am passing data from a Odoo 10 to Odoo 12 in the Community version (as migration scripts did not seem to be stable enough).
When importing several secondary objects like Messages, Mail Channels, I get the following error:
Unknown error during import: <class 'odoo.exceptions.ValidationError'>: ('Error while validating constraint\n\nThe requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: Discussion Channel, Operation: read) - (Records: , User: 2)\nNone', None) Resolve other errors first
Note that I am running this command as Odoo admin, so cannot see why I should lack rights.
Even when I resolve all the other errors, this problem persists.
Does anyone has a comment about where to search?
Thank you very much, hj