fix jasper_reportps and tt_print_form_schet_factura to support openerp 8.0