Merge lp:~openerp-dev/openobject-addons/7.0-opw-592594-dhr into lp:openobject-addons/7.0

Proposed by Dharti Ratani(OpenERP)
Status: Rejected
Rejected by: Naresh(OpenERP)
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-592594-dhr
Merge into: lp:openobject-addons/7.0
Diff against target: 14 lines (+2/-1)
1 file modified
hr_timesheet/hr_timesheet.py (+2/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-592594-dhr
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+164322@code.launchpad.net

Description of the change

Hello Sir,

Fixed the issue lines in Details tab in timesheets are not sorted by date.

Thanks
dhr

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

Schema changes not allowed in stable releases, for more info refer:
https://doc.openerp.com/contribute/11_bug_tracker/#bug-management-policy

Thanks,
Naresh Soni,
OpenERP Enterprise Services

Unmerged revisions

9135. By Dharti Ratani(OpenERP)

[FIX]Timesheet lines in Details tab of timesheets are sorted now

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hr_timesheet/hr_timesheet.py'
2--- hr_timesheet/hr_timesheet.py 2013-04-24 09:28:10 +0000
3+++ hr_timesheet/hr_timesheet.py 2013-05-17 08:55:39 +0000
4@@ -70,9 +70,10 @@
5 _table = 'hr_analytic_timesheet'
6 _description = "Timesheet Line"
7 _inherits = {'account.analytic.line': 'line_id'}
8- _order = "id desc"
9+ _order = "date desc"
10 _columns = {
11 'line_id': fields.many2one('account.analytic.line', 'Analytic Line', ondelete='cascade', required=True),
12+ 'date': fields.date('Date', required=True, select=True),
13 'partner_id': fields.related('account_id', 'partner_id', type='many2one', string='Partner', relation='res.partner', store=True),
14 }
15