Support field refs to other entity.

Merged 徐鹏程 requested to merge pc-fix-audit into master

Merge request reports