Inherit this mixin to automatically create a `documents.document` when
an `ir.attachment` is linked to a record and add the default values when
creating a document related to the model that inherits from this mixin.
Override this mixin's methods to specify an owner, a folder, tags or
access_rights for the document.
Note: this mixin can be disabled with the context variable "no_document=True".