Commit Graph
43 Commits
Author SHA1 Message Date
Denis Vermylen 1c2e3d3838 [FIX] hr_attendance, hr_*: move group_hr_attendance to hr_attendance
move group_hr_attendance from hr -> hr_attendance where it belongs.
2017-01-26 19:19:19 +01:00
Denis Vermylen (dve) 2c13736cbf [IMP] attendance: help messages, comments, ...
- improve some help messages
- improve comments
- small refactoring
- add category to group "Manual Attendance"
2016-10-03 15:19:21 +02:00
Yannick Tivisse 7fa2691175 [IMP] hr_*: Split the HR access rights by application
PURPOSE
=======

For each and every Hr application there should be one user category (One app = one category).

SPECIFICATION
=============

HR remains as it is : Employee, Officer, Manager

Each Application should have 2 access rights: User and Manager. Example for Recruitment:
- The user has access to the recruitment process
- The manager has access to the job position configuration

Each Application should grant the employee user access right (Namely the 'HR Officer')
2016-09-06 14:35:09 +02:00
Martin Trigaux 11812b0b9e [FIX] all: remove external ids fakely from base
Several modules defines records with the external ID `base.foo_bar` while it is
created inside this module (typically menus and groups).
While there is no technical reasons to do so but this may introduce issues:

- these records will not be deleted during uninstall
- if a language is loaded before the installation of the module, it won't be
  translated

The uninstallation will only remove the records with an external id linked to
this module (these would only be removed when removing base).

Installing a language before the module will drop the translations not linked
to an existing external id (as it can not be resolved).

This commit correct all the external ids tagged as from base or other incorrect
modules.
2016-09-02 16:14:26 +02:00
Denis Vermylen (dve) 96b88b1275 [IMP] hr_attendance: migration and revamp
- Migration to new API
- MODEL : hr.attendance now has check_in and check_out datetimes plus a computed field worked_hours, no more action (in/out) and no more reason.
          hr.employee has extra fields: pin and barcode and can print a badge containing that barcode.
- the module contains : -> a menu "My Attendances" to check yourself in or out manually.
                        -> a menu "Manage Attendances" with 3 submenus:
                              - "Attendances" where you can edit attendances
                              - "Employees" where you have a kanban view of the employees (to see who's checked in or print badges)
                              - "Kiosk Mode": fullscreen, made to be at the entrance of companies to allow
                                 all employees to check in and out, either with a barcode scanner to scan your badge
                                 or by selecting them in a kanban view and checking in or out manually with or without
                                 entering their PIN.  (enable/disable in Configuration)
                        -> a menu "Configuration" where you can change enable/disable PIN use.
- GROUPS : -> HR manager (base.group_hr_manager): full access to the attendance module.
           -> HR officer (base.group_hr_user): full access except the "Configuration" menu.
           -> Manual Attendances (base.group_hr_attendance): only access to the attendance menu "My Attendance" to check in and out manually in the back-end
           -> Employee (base.group_user): has no access to the attendance module. (should only check in and out through the "Kiosk Mode" put at his disposal)
- Views adaptation to the new fields, addition of a presence indicator (green/red dot) to employee kanban and form views.
2016-07-06 16:32:11 +02:00
Denis Vermylen (dve) 17cd248721 [MOV] hr_attendance: moved files according to new api guidelines 2016-07-06 16:32:11 +02:00
Gaurav Panchal 6e14dd0ef9 [IMP] config: various improvements
- sales_team: demo data enable sales team features to users
- hr_attendance: admin can enable attendance features from hr settings
- multi_company: if admin enable these features, she gets the
  multi-company usability settings
- account: enabling multi-currency functionalities enable pricelist
  functionalities
2015-03-31 17:31:11 +02:00
Xavier Morel 7a2d912964 [REM] bunch of nonsensical @model + @ref
bzr revid: xmo@openerp.com-20130429124333-p1h11fpy04y3sljy
2013-04-29 14:43:33 +02:00
Olivier Dony 3fe6987ce7 [MERGE] Harmonization of noupdate flag on security XML data, courtesy of Alexis de Lattre (Akretion)
ir.rule records are in noupdate data blocks to let the admin
alter them without fear of them being reset at next update.
Other records such as groups are in normal mode, so they
can be updated whenever necessary

bzr revid: odo@openerp.com-20121218232001-t425t4hi7qbmsip2
2012-12-19 00:20:01 +01:00
Fabien Pinckaers fbe0c03df3 [FIX] Attendances rules
bzr revid: fp@tinyerp.com-20120927191804-szqoktzis42qju2h
2012-09-27 21:18:04 +02:00
Pinakin Nayi (OpenERP) 713dff9dba [IMP]group attendance to restrict attendance related fields and views
bzr revid: pna@tinyerp.com-20120921070809-x62vwxdyhw7pyciw
2012-09-21 12:38:09 +05:30
Alexis de Lattre 5101771cd9 Harmonize the noupdate flag on security XML files :
- ir.rule objects are noupdate="1"
- all other objects are noupdate="0"

bzr revid: alexis@via.ecp.fr-20120713170838-pjsysliyt6twazrc
2012-07-13 19:08:38 +02:00
Fabien Pinckaers f27318c8af [IMP] Security Rule: removed duplicates due to inheritancies of groups
bzr revid: fp@tinyerp.com-20111212181113-mhnnbps3ip8ls6pp
2011-12-12 19:11:13 +01:00
Ujjvala Collins (OpenERP) 060b488478 [FIX] hr_xxx: Improved record rules for HR Officer to give him rights to see timesheet, attendance, expense and holidays of other users.
lp bug: https://launchpad.net/bugs/856422 fixed

bzr revid: uco@tinyerp.com-20110929092802-ohpa8xt6at02h449
2011-09-29 14:58:02 +05:30
Mustufa Rangwala 2f09faba42 [MERGE] an employee shouldn't be able to see expenses and holidays of others employee
bzr revid: mra@mra-laptop-20110117102556-evp00eqczxuy5l5z
2011-01-17 15:55:56 +05:30
mtr 028530f9eb [FIX] hr_attendance,hr_expense,hr_holidays: added 'ir.rule' for group 'Employee'
lp bug: https://launchpad.net/bugs/702805 fixed

bzr revid: mtr@mtr-20110117084537-jrsy3wg68io8z8e8
2011-01-17 14:15:37 +05:30
husen f433b959c2 merged with trunk
bzr revid: husen@husen-laptop-20101230095809-cl6dkve1odgdtqtv
2010-12-30 15:28:09 +05:30
François Degrave e678fd472a [IMP] access rights, menus for HR
bzr revid: fde@openerp.com-20101228153417-ps9ql3h4lij87jx8
2010-12-28 16:34:17 +01:00
Fabien Pinckaers 1b69a14e74 fixes
bzr revid: fp@tinyerp.com-20101018143305-mw79ewcj4q0t8t17
2010-10-18 16:33:05 +02:00
Fabien Pinckaers 37680303df [IMP] ir.rule reviewed
bzr revid: fp@tinyerp.com-20101018092840-7a6wv2vw2s6a1a2s
2010-10-18 11:28:40 +02:00
Vir (Open ERP) fc7ac05985 [REM] Removed not used security files
bzr revid: vir@tinyerp.com-20101013073425-03z20ylsxwq1or3y
2010-10-13 13:04:25 +05:30
Vir (Open ERP) eecda53df5 [MOD] improvements in access rights
bzr revid: vir@tinyerp.com-20101008101042-ak2z1vuzbmak7yt3
2010-10-08 15:40:42 +05:30
AMP (OpenERP) 92c78d14e6 [MOD/IMP] hr_* : hr,hr_attendance,hr_contract,hr_expence,hr_timesheet,hr_timesheet_invoice,hr_timesheet_sheet Usability improvement in access rights
bzr revid: amp@tinyerp.com-20101007094729-1sdtsxube9ti5lw2
2010-10-07 15:17:29 +05:30
DBR (OpenERP) 389a623545 [MOD/IMP] hr_* : Usability Improvement in Accessrights
bzr revid: dbr@tinyerp.com-20101007071157-z52414z1sz9h85qh
2010-10-07 12:41:57 +05:30
DBR (OpenERP) a74c490c6d [MOD/IMP] hr_holidays : Usability Improvement in Accessrights
bzr revid: dbr@tinyerp.com-20101006135154-oovxhs611nk4tzso
2010-10-06 19:21:54 +05:30
Vir (Open ERP) 99c74952a7 [MOD] hr,hr_attendance : Improvements in access rights
bzr revid: vir@tinyerp.com-20101006111517-91jab3steqyimmev
2010-10-06 16:45:17 +05:30
AMP (OpenERP) 0a8c9772b6 [MOD]hr_* : usability improvement in employee access rights
bzr revid: amp@tinyerp.com-20100906063006-gcuxdswiunwokvn4
2010-09-06 12:00:06 +05:30
AMP(Open ERP) aff16ab9a5 [MOD/IMP] hr_* : Improvement in access rights
bzr revid: vir@tinyerp.com-20100813133645-w8nex9k1he2zjq9h
2010-08-13 19:06:45 +05:30
amp (OpenERP) bd426f0346 [IMP] crm,hr_*,auction,knowledge,mrp,product,project,sale,survey : access rights improvements
bzr revid: vir@tinyerp.com-20100810134529-wyqlh5d3zabd25gv
2010-08-10 19:15:29 +05:30
DBR (OpenERP) 5f4d7ff09b [MOD/IMP]hr_* modules access right changes in configuration
bzr revid: dbr@tinyerp.com-20100804133252-vh4vbkhmvsev0pnw
2010-08-04 19:02:52 +05:30
DBR (OpenERP) 3e9a0b3ca5 [MOD/IMP]hr_* modules access right changes
bzr revid: dbr@tinyerp.com-20100804112853-issapx9dk7ztcscm
2010-08-04 16:58:53 +05:30
Vir (Open ERP) c6062d0ebe [MOD] hr_attendance: modification in access rights
bzr revid: vir@tinyerp.com-20100804101311-cgl2mzw29sym64t5
2010-08-04 15:43:11 +05:30
DBR (OpenERP) 9261375e2e [MOD/IMP]hr_* modules access right changes
bzr revid: dbr@tinyerp.com-20100804085628-58nplf4yw8zp80dj
2010-08-04 14:26:28 +05:30
DBR (OpenERP) a446dfb18e [MOD] hr_* :Improvement in hr_* modules groups and accessright
bzr revid: dbr@tinyerp.com-20100803131117-jkvf2a7pe955en2u
2010-08-03 18:41:17 +05:30
rpa (Open ERP) 4076708b25 [FIX]: hr_attendance: Problem of duplicate id in access rule
bzr revid: rpa@tinyerp.com-20100712112623-t0xg68chfe96lfln
2010-07-12 16:56:23 +05:30
Harry (OpenERP) 31503e3db8 [FIX] remove security rule of osv_memory object
bzr revid: hmo@tinyerp.com-20100707072453-3w0kw505tbit7h8l
2010-07-07 12:54:53 +05:30
Mustufa Rangwala c179005fc7 [IMP] Clean hr_* module (Still need to done)
bzr revid: mra@mra-laptop-20100703102152-4ulrrzbkorpd7xei
2010-07-03 15:51:52 +05:30
Fabien Pinckaers 65b70827c4 fix_and_better_access_rights
bzr revid: fp@tinyerp.com-20100612220005-4a33xqgs8bvvoa7x
2010-06-13 00:00:05 +02:00
Fabien Pinckaers 1187aae83a [IMP] better views and security rules
bzr revid: fp@tinyerp.com-20100611130853-scoz86mdvte7ynwm
2010-06-11 15:08:53 +02:00
Fabien Pinckaers 672f3e8d6c [IMP] access rights improvements
bzr revid: fp@tinyerp.com-20100611125528-mlhkzlditz2awk1k
2010-06-11 14:55:28 +02:00
Fabien Pinckaers 7a34029201 improvement
bzr revid: fp@tinyerp.com-20081126160236-xgpt21kdsnlko8yy
2008-11-26 17:02:36 +01:00
Christophe Simonis 123a99c39a fix access rules
bzr revid: christophe@tinyerp.com-20081021153441-af1qtobtazu7rs28
2008-10-21 17:34:41 +02:00
Christophe Simonis d3ce446ec0 fix and complete access rules
bzr revid: christophe@tinyerp.com-20081017084109-i1r4zigf7wp3o6i5
2008-10-17 10:41:09 +02:00