Account Journal name unicode error

Bug #664288 reported by Jacara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
JMA(Open ERP)

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)

Changed in openobject-addons:
assignee: nobody → JMA(Open ERP) (jma-openerp)
Changed in openobject-addons:
status: New → Confirmed
Changed in openobject-addons:
milestone: none → 6.0
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thanks Jacara and JMA.
It has been fixed by revision 4448 <email address hidden>.

Changed in openobject-addons:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.