#14635 Orion Events: Use well name alias for generic keywords

This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2026-09-01 11:56:59 +02:00
1 parent c08323c65e
commit 1336eba81d
5 files changed
+60 -6

No files matched your search

@@ -602,7 +602,8 @@ void RicScheduleDataGenerator::generateWellControlForWell( const RimWellEventTim
{
if ( event->wellName() != well.name() ) continue;
auto kw = RifEventKeywordFormatter::buildWellEvent( event, well.name() );
const QString wellName = well.completionSettings() ? well.completionSettings()->wellNameForExport() : well.name();
auto kw = RifEventKeywordFormatter::buildWellEvent( event, wellName );
if ( !kw ) continue;
const QString name = QString::fromStdString( kw->name() );