[FIX] Stock : Allowed unicode characters in wizard of change price [ Ref : SaaS Maintenance case 3916]
bzr revid: jvo@tinyerp.com-20110128102301-a2zd0rzmqr46spmp
This commit is contained in:
parent
e3c0deb3a3
commit
12cb105c65
|
@ -84,7 +84,7 @@ class stock_change_product_qty(osv.osv_memory):
|
|||
|
||||
res_original = prod_obj_pool.browse(cr, uid, rec_id, context=context)
|
||||
for data in self.browse(cr, uid, ids, context=context):
|
||||
inventory_id = inventry_obj.create(cr , uid, {'name': _('INV: ') + str(res_original.name)}, context=context)
|
||||
inventory_id = inventry_obj.create(cr , uid, {'name': _('INV: ') + tools.ustr(res_original.name)}, context=context)
|
||||
line_data ={
|
||||
'inventory_id' : inventory_id,
|
||||
'product_qty' : data.new_quantity,
|
||||
|
|
Loading…
Reference in New Issue