Comment 4 for bug 498180

Revision history for this message
Wei "oldrev" Li (oldrev) wrote :

It's a defect in "web-client/openerp/controllers/actions.py":

PRINT_FORMATS = {
     'pdf' : 'application/pdf',
     'doc' : 'application/vnd.ms-word',
     'html': 'text/html',
     'sxw' : 'application/vnd.sun.xml.writer'
}

please add an "odt" pair:

     'odt' : 'application/vnd.sun.xml.writer',