← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 684616] [NEW] Sale order line, onchange_product_id unicode problem

 

Public bug reported:

I'm testing openobject-addons revision 3954.

addons/sale.py line 1060 on product_id_change method :

warn_msg = warn_msg + "\n\n" + _("EAN: ") + str(ean) + _(" Quantity: ")
+ str(qty_pack) + _(" Type of ul: ") + str(type_ul.name)

if type_ul.name is unicode text then getting UnicodeEncodeError.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  Sale order line, onchange_product_id unicode problem

Status in OpenObject Addons Modules:
  New

Bug description:
  I'm testing openobject-addons revision 3954.

addons/sale.py line 1060 on product_id_change method :

warn_msg = warn_msg + "\n\n" + _("EAN: ") + str(ean) + _(" Quantity: ") + str(qty_pack) + _(" Type of ul: ") + str(type_ul.name)

if type_ul.name is unicode text then getting UnicodeEncodeError.





Follow ups

References