@property
def target_version(self):
    if self.upgrade:
        return self.upgrade.target_plan.engine.full_inicial_version
    elif self.upgrade_patch:
        return self.upgrade_patch.target_patch_full_version
@property
def target_version(self):
    if self.upgrade:
        return self.upgrade.target_plan.engine.full_inicial_version
    elif self.upgrade_patch:
        return self.upgrade_patch.target_patch_full_version