c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00811
[Bug 664288] Re: Account Journal name unicode error
Thanks Jacara and JMA.
It has been fixed by revision 4448 jvo@xxxxxxxxxxx-20101021083922-twdzt2vpxj3xirzp.
** Changed in: openobject-addons
Status: In Progress => Fix Released
--
Account Journal name unicode error
https://bugs.launchpad.net/bugs/664288
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.
Status in OpenObject Addons Modules: Fix Released
Bug description:
I'm testing 6.0.0.rc1 and error occured with action window following "Accounting/Customers/Journal Items".
I created Account Journal with Unicode name like this 'Борлуулалтын журнал' then i found that BUG.
Error message :
File "/home/jacara/Pydev-workspace/monoserp/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/jacara/Pydev-workspace/monoserp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/home/jacara/Pydev-workspace/monoserp/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/jacara/Pydev-workspace/monoserp/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/jacara/Pydev-workspace/monoserp/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/jacara/Pydev-workspace/monoserp/addons/monos_account/wizard/account_move_journal.py", line 78, in fields_view_get
res = super(account_move_journal, self).fields_view_get(cr, uid, view_id, view_type, context, toolbar, submenu)
File "/home/jacara/Pydev-workspace/monoserp/addons/account/wizard/account_move_journal.py", line 103, in fields_view_get
</form>""" % (str(journal), str(period))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0440' in position 3: ordinal not in range(128)
References