getOrder()) { $object->setParentId($object->getOrder()->getId()); } parent::beforeSave($object); return $this; } }