odoo/addons/hr_timesheet_sheet
Denis Ledoux 1d7120a978 [FIX] hr_timesheet_sheet: prevent modify activities of confirmed sheets
In 7.0, prevent changes in activities of validated sheets was done thanks to the constraint
_check_sheet_state.
In 7.0, python constraints were checked at each write operations
whatever if the fields on which the constraint is were altered or not

This is no longer the case in Odoo 8.0: The constraint is checked
only if the fields on which the constraint is are altered.

As this specific constraint must be applied anytime, whatever the altered fields,
we now do this constraint check in the "write" method.
Besides, it was already the case for the unlink method.

opw-627415
2015-02-09 12:30:28 +01:00
..
i18n [I18N] Update translations from Launchpad 8.0 branches 2015-01-26 16:36:51 +01:00
report [IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files) 2014-08-26 11:56:49 +02:00
security [FIX] hr_timesheet(_sheet): access rights on report 2014-11-13 11:03:22 +01:00
static [MERGE] forward port of branch 7.0 up to 3e3e35e 2014-11-05 21:10:15 +01:00
test [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
views [IMP] bundlify addons (except website) 2014-04-24 19:21:29 +02:00
wizard Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
__init__.py [IMP] HR: add the configuration wizard(new added file >> hr/res_config.py, hr/res_config_view.xml,hr_recruitment/res_config.py, hr_recruitment/res_config_view.xml, hr_timesheet_sheet/res_config.py, hr_timesheet_sheet/res_config_view.xml) 2012-04-02 11:14:18 +05:30
__openerp__.py [DEL] Cleaning: key 'images' removed from all __openerp__.py 2015-01-06 14:20:38 +01:00
hr_timesheet_sheet.py [FIX] hr_timesheet_sheet: prevent modify activities of confirmed sheets 2015-02-09 12:30:28 +01:00
hr_timesheet_sheet_data.xml An employee should receive a mail.message in inbox when an manager refuse a timesheet. 2012-11-22 16:30:15 +05:30
hr_timesheet_sheet_demo.xml Removed date_current more 2012-10-02 17:15:20 +02:00
hr_timesheet_sheet_view.xml [FIX] hr_timesheet_sheet: chatter display bug. Fix #4707 2015-01-16 11:34:38 +01:00
hr_timesheet_workflow.xml [IMP]:improved hr module 2011-07-11 16:53:29 +05:30
res_config.py [IMP]align multi-line string 2013-09-17 18:38:14 +05:30
res_config_view.xml [IMP] cleaned ir.actions.todo to launch newly installed application 2012-09-16 13:42:49 +02:00