ESDEV-1760 Add oxshowcustomagreement field to database. Fixing views