Fix value undefined error
Fix value undefined error

When opening view as popup from user preferences, we see
undefined value error.

Fixes RM-17830

axelor/axelor-development-kit,axelor/axelor-development-kit,axelor/axelor-development-kit,axelor/axelor-development-kit