[FIX] base: ir.model.fields, write, use tools.ustr instead of str so it handle if...
authorDenis Ledoux <dle@openerp.com>
Mon, 28 Apr 2014 11:00:42 +0000 (13:00 +0200)
committerDenis Ledoux <dle@openerp.com>
Mon, 28 Apr 2014 11:00:42 +0000 (13:00 +0200)
commit93ba7cc5755b9fc27f0edc9dc6c6bada140c6409
tree3b22cc409e9b76e8466b0038cce1a3d6f512091b
parenta2536d5e3271160d9d67d49268b0d4f7960588bf
[FIX] base: ir.model.fields, write, use tools.ustr instead of str so it handle if the string is already unicode

Writing special chars in the field label resulted in a traceback (write only, no problem with creation)

bzr revid: dle@openerp.com-20140428110042-qeaswuwsquy1612h
openerp/addons/base/ir/ir_model.py