~agilebg/hr-timesheet/hr_attendance_analysis_summary

« back to all changes in this revision

Viewing changes to hr_timesheet_improvement/__openerp__.py

[MERGE]
From the author comments.
- Add a module to sort timesheet lines by date and account name instead of the dummy id sorting.

- Change default date for manually entering attendances to last date instead of now.

- Redefines constraint on attendances to check only the sheet the attendance belongs to.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
##############################################################################
 
3
#
 
4
#    Authors: Yannick Vaucher (Camptocamp)
 
5
#             Vincent Renaville (Camptocamp)
 
6
#    Copyright 2013 Camptocamp SA
 
7
#
 
8
#    This program is free software: you can redistribute it and/or modify
 
9
#    it under the terms of the GNU Affero General Public License as
 
10
#    published by the Free Software Foundation, either version 3 of the
 
11
#    License, or (at your option) any later version.
 
12
#
 
13
#    This program is distributed in the hope that it will be useful,
 
14
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
#    GNU Affero General Public License for more details.
 
17
#
 
18
#    You should have received a copy of the GNU Affero General Public License
 
19
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
20
#
 
21
##############################################################################
 
22
{'name' : 'Timesheet improvements',
 
23
 'version' : '0.1',
 
24
 'author' : 'Camptocamp',
 
25
 'maintainer': 'Camptocamp',
 
26
 'category': 'Human Resources',
 
27
 'depends' : ['hr_timesheet_sheet'],
 
28
 'description': """
 
29
 Modifies timesheet behavior:
 
30
 - Ensure a DESC order on timesheet lines
 
31
 - Set default date for manually entering attendance to max attendance date
 
32
 - Redefine constraint on timesheets to check alternation of 'sign in' and
 
33
   'sign out' only on current timesheet instead of doing it on all timesheets
 
34
   of the employee
 
35
 """,
 
36
 'website': 'http://www.camptocamp.com',
 
37
 'data': ['hr_timesheet_view.xml'],
 
38
 'js' : [],
 
39
 'css': [],
 
40
 'qweb': [],
 
41
 'demo': [],
 
42
 'test': [],
 
43
 'installable': True,
 
44
 'images' : [],
 
45
 'auto_install': False,
 
46
 'license': 'AGPL-3',
 
47
 'application': True,
 
48
}
 
49
 
 
50
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: