[IMP] orm cache in read_template in ir_ui_view.py