[IMP] Added new logic when you work with models that haver a parent_id with his own model and these parent are not creatde when you try to create their childs