Improve domain for work order optical data.

Also save the details in the work order editor

Change-Id: I37211ade588607c6ced459b75ca793315d554df6
Merge "Improve domain for work order optical data."