Merge branch 'document_object_library_as_a_property_type' into release-3.12

Merge-request: !2199