c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #16117
[Bug 719137] Re: Unable to handle character above 128
This is in Version 6.0.1
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/719137
Title:
Unable to handle character above 128
Status in OpenERP Server:
New
Bug description:
With this product name:
LED RED LOW CURRENT T-1 ¾
When I try to update the stock in the product menu, I get the
following:
Traceback (most recent call last):
File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/share/pyshared/openerp-server/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/share/pyshared/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/share/pyshared/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/share/pyshared/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/share/pyshared/openerp-server/addons/stock/wizard/stock_change_product_qty.py", line 87, in change_product_qty
inventory_id = inventry_obj.create(cr , uid, {'name': _('INV: ') + str(res_original.name)}, context=context)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xbe' in position 24: ordinal not in range(128)
If I delete the ¾ character is doesn't crash.
References