Expenses lines should be sorted by date too?

Bug #616783 reported by os33
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

Hello,

V5.0.12 with web client :

By default if no sequence is defined for each expense line, the expenses lines should be sorted by date (in the report too).

V6 : unable to test (unicode error)
title = u'Expenses', builtin str = <type 'str'>, display_name = {'field': u'Feuille de D\xe9pense', 'value': 'May Expenses'}

<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xe9' in position 12: ordinal not in range(128)
      args = ('ascii', u'Feuille de D\xe9pense', 12, 13, 'ordinal not in range(128)')
      encoding = 'ascii'
      end = 13
      message = ''
      object = u'Feuille de D\xe9pense'
      reason = 'ordinal not in range(128)'
      start = 12

Thanks

Related branches

Revision history for this message
Quentin THEURET @Amaris (qtheuret) wrote :

I also have problem with UnicodeEncodeError on v6.0.

Navrang Oza (noz-tiny)
Changed in openobject-addons:
assignee: nobody → vda(Open ERP) (vda-tiny)
Revision history for this message
Vaibhav Darji (vaibhav-openerp) wrote :

Hello,
I am using trunk at revision no:3027.
I have checked it.but did not found any error.
It works fine in my case.
Please update your code.

Thanks.

Revision history for this message
os33 (olivier-sommier) wrote :

vda,

I updated the code : no more unicode error but still the problem of sorting (V5 and V6)
Thanks

summary: - Expenses lines not sorted in expense sheet
+ Expenses lines should be sorted by date too?
Changed in openobject-addons:
assignee: vda(Open ERP) (vda-tiny) → nobody
milestone: none → 6.0
Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello os33,

We have fixed the problem in Addons3 branch.

revision-id: mra@mra-laptop-20101104072319-vfwjj4yzfuac7up3
revno: 4588

Thank you,
Mustufa

Changed in openobject-addons:
status: Confirmed → 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.