UnicodeEncodeError in addons\stock\wizard\stock_change_product_qty.py

Bug #707809 reported by mrshelly
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2

Bug Description

in stock module line 87..(addons\stock\wizard\stock_change_product_qty.py", line 87 OE server 6.0.1 windows all in one.)

inventory_id = inventry_obj.create(cr , uid, {'name': _('INV: ') + str(res_original.name)}, context=context)

I got the "UnicodeEncodeError" exception.

and I fixed it with:

inventory_id = inventry_obj.create(cr , uid, {'name': _('INV: ') + res_original.name}, context=context)

Tags: maintenance

Related branches

mrshelly (mrshelly)
description: updated
description: updated
Revision history for this message
Azazahmed Saiyed (OpenERP) (saz-openerp) wrote :

Hello,

When we save the product with the name consists of Unicode character and executes the wizard, the traceback comes and wizard is not executed.

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Rohan Nayani(Open ERP) (ron-tinyerp) wrote :

Hello,

Thanks for Reporting.
It has been fixed in lp:~openerp-dev/openobject-addons/ron-dev-addons2
Revision ID: <email address hidden>
Revision num:5131.

It will be available in trunk soon,

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Setting the Milestone 6.0.2 as its fixed already on 6.0.1,as a result,will be available for 6.1 as well.
Thanks.

tags: added: maintenance
Changed in openobject-addons:
milestone: none → 6.0.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.