I upgraded Ubuntu 12.04 to 14.04 LTS and after having some problems not being able te print, which were solved with help from this community. I now have the problem I cannot print sales orders which have been created before the upgrade (also upgraded OpenERP).
But the new ones are printable. Error msg is :
ascii
4,00 Stuk(s
4
5
ordinal not in range(128)(<type 'exceptions.UnicodeEncodeError'>, UnicodeEncodeError('ascii', u'4,00\xa0Stuk(s', 4, 5, 'ordinal not in range(128)'), <traceback object at 0x7fbea533a7a0>)
Log file says :
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 654, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 760, in exp_report_get
return self._check_report(report_id)
File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 738, in _check_report
netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)
File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 71, in abort_response
raise openerp.osv.osv.except_osv(description, details)
except_osv: (u'ascii\n4,00\xa0Stuk(s\n4\n5\nordinal not in range(128)', (<type 'exceptions.UnicodeEncodeError'>, UnicodeEncodeError('ascii', u'4,00\xa0Stuk(s', 4, 5, 'ordinal not in range(128)'), <traceback object at 0x7fbea533a7a0>))
Hope this rings a bell for someone. Looking at this I would says it is complaining about the number of items and the uom used for that.
Please post your code where you are creating that string
Dear Grover, I have no code regarding that string. It is in standard OpenERP. After the upgrade this has started on all old orders.