← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 707809] Re: UnicodeEncodeError in addons\stock\wizard\stock_change_product_qty.py

 

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
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

-- 
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/707809

Title:
  UnicodeEncodeError in addons\stock\wizard\stock_change_product_qty.py

Status in OpenERP Modules (addons):
  Confirmed

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)





References