Fix https://github.com/MetaModels/core/issues/508.

In parent view, the parent model was incorrectly used as base for the
new   model to be created.