Commit Graph
45 Commits
Author SHA1 Message Date
Yannick Tivisse 47dab7d3b4 [FIX] hr_payroll: Allow a HR user to create a contract if not a payroll user 2017-05-08 16:55:51 +02:00
Yannick Tivisse e18e6b3c90 [IMP] hr_payroll: Add hr.contract.advantage.template model + some improvements
- Some label improvements
- Make the 'Working Schedule' required on a contract to work well on payslip. If not set, the working hours are not taken into account when computing the payslip, leading to a wage salary equal to 0.
- Add a hr.contract.advantage.template model. This is kind of a meta model to retrieve specific values for given advantages (like lower and upper bounds or default values). Add related views and actions too.
- Only add opened contract by default on a payslip in the onchange_employee_id
- Rewrite some method in new api style (with browse records)
2017-04-26 15:08:09 +02:00
dbh d25c8e7aa5 [IMP] hr_payroll : Clean access rules
=> Officer can see their own and their subordinates payslip.
=> Manager can see everyone's payslip.
2016-12-05 11:01:41 +01:00
Yannick Tivisse 3a381a1783 [FIX] hr_payroll: Remove stupid record rule that became buggy
In saas-12, a stupid record rule authorizes an employee to create a payslip only for him (dafuq)

In saas-13, sine the HR access right splitting, this record rule authorizes an payroll user ti create a payslip only for him (bug). A consequence of this is that the rule is also applied to the payroll manager (bugx2)
2016-09-20 15:43:04 +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
Ravi Gohil edcb318a8e [MIG] hr_payroll: migration of all directories in new API, except report 2016-07-11 10:19:49 +02:00
Ravi Gohil 2079a5018d [MOV] hr_payroll: Restructured files according to new API guidelines (no splitting)
[FIX] hr_payroll: Fixed wrong decorator.
2016-07-11 10:19:49 +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
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
ARA (OpenERP) 5724622376 [IMP] remove hr salary securty and merge into hr_payroll
bzr revid: ara@tinyerp.com-20110916101826-xf2ynbxg1o6zkfwh
2011-09-16 15:48:26 +05:30
psi (Open ERP) ba27653083 [MERGE,IMP] merge with main payroll branch and improve the code in wizard according to that
bzr revid: psi@tinyerp.co.in-20110511093426-0ao8e98y846hfmiv
bzr revid: psi@tinyerp.co.in-20110512045902-e310b5m3k7wf3m7b
2011-05-12 10:29:02 +05:30
Quentin (OpenERP) 5aab6e88a8 [MERGE] merged mtr's branch with new name for salary.head
bzr revid: qdp-launchpad@openerp.com-20110511132148-g2pyjq9oy6e88w6t
2011-05-11 15:21:48 +02:00
psi (Open ERP) 03fb4577c4 [MERGE] merge with main branch
bzr revid: psi@tinyerp.co.in-20110511101733-8a0tbbmuwvo5bix5
2011-05-11 15:47:33 +05:30
mtr 7ae069998e [IMP] hr_payroll: renamed hr.salary.category into hr.salary.rule.category
bzr revid: mtr@mtr-20110511071854-ctdf3czpedhe5t6l
2011-05-11 12:48:54 +05:30
Quentin (OpenERP) f302fa5ea3 [MERGE] merged mtr's branch related to security improvements
bzr revid: qdp-launchpad@openerp.com-20110510145046-vc2603j5wrmc48tf
2011-05-10 16:50:46 +02:00
mtr 84739f218e [IMP] hr_payroll: renamed salary head into salary category
bzr revid: mtr@mtr-20110510115411-lkf923pyakj1ykug
2011-05-10 17:24:11 +05:30
psi (Open ERP) c600603f3a [ADD] improve code and add demo rule for sales
bzr revid: psi@tinyerp.co.in-20110510111931-4v21peqft66hblpp
2011-05-10 16:49:31 +05:30
psi (Open ERP) 8666be5ebd [IMP] rename object to worked_days and add one object hr.salary.input
bzr revid: psi@tinyerp.co.in-20110509085002-l0ygkq5al9yedmz6
2011-05-09 14:20:02 +05:30
psi (Open ERP) 46cf364574 [IMP] rename the class and changed the view accourdingly
bzr revid: psi@tinyerp.co.in-20110503123807-ptgnp6gejy045fai
2011-05-03 18:08:07 +05:30
psi (Open ERP) 978b756760 [IMP] wizard will work for employees instead of employee categories
bzr revid: psi@tinyerp.co.in-20110502121822-2xw9r1yilxoovr2o
2011-05-02 17:48:22 +05:30
mtr 148b1d45a1 [IMP] hr_payroll: revert back the changes of access rights,made for hr user
bzr revid: mtr@mtr-20110428085311-7017lofdf8jf7s3f
2011-04-28 14:23:11 +05:30
mtr 43327d9e9b [IMP] hr_payroll: 'HR / Officer' can now see the payslips of him and of employess for which he's the manager
bzr revid: mtr@mtr-20110428083538-v08g50zk6sx18t4j
2011-04-28 14:05:38 +05:30
mtr ac07145e5a [IMP] hr_payroll: added ir.rule for employee payslip and modified access rights
bzr revid: mtr@mtr-20110428063140-rxao7nev4xgzl9f2
2011-04-28 12:01:40 +05:30
Quentin (OpenERP) 2dad28d4fd [IMP] hr_payroll: misc improvements among
* remove typo in hr.contribution.register object name
   * fix engine: a rule with same code must overwrite the previous value
   * improved demo data: set same code for Conveyance Allowance for Paolino and parent rule
   * improved tree/search views

bzr revid: qdp-launchpad@openerp.com-20110412170128-xlf1r1tfsm8ke7e5
2011-04-12 19:01:28 +02:00
mtr d433642232 [IMP] hr_payroll: added access rules
bzr revid: mtr@mtr-20110411115823-kp0oarpmo8vz9rtr
2011-04-11 17:28:23 +05:30
Mustufa Rangwala c9a30f97ae [FIX] Payroll: Installation error on csv access
bzr revid: mra@mra-laptop-20110408054841-7vpltohm639ov7u5
2011-04-08 11:18:41 +05:30
Mustufa Rangwala 7ff22495b9 [FIX] Payroll: Remove contribution reg lines in xml and in .csv
bzr revid: mra@mra-laptop-20110407130634-syjdvcme17nwhdhe
2011-04-07 18:36:34 +05:30
mtr 481a4d104e [IMP] hr_payroll:improved ir.model.access.csv file
bzr revid: mtr@mtr-20110405062132-fswk1fn73341866x
2011-04-05 11:51:32 +05:30
Mustufa Rangwala 9843f42b1f [FIX] payroll
bzr revid: mra@mra-laptop-20110404130033-rxhyg3jpwga7xaof
2011-04-04 18:30:33 +05:30
psi (Open ERP) ed78081860 [MERGE] merge with trunk-payroll-salary_rules-mtr branch
bzr revid: psi@tinyerp.co.in-20110304070625-ya6lepni4jyjw8c7
2011-03-04 12:36:25 +05:30
psi (Open ERP) 016fbccf00 [IMP] changes as per hr_payroll_new file given by QDP sir: move hr_passport obj to hr module, move some fields of hr.contract from hr_paroll to hr_contract, remove working_days_per_week field for contart and get it from resource calender
bzr revid: psi@tinyerp.co.in-20110303124903-nopz0swoebyqtsqq
2011-03-03 18:19:03 +05:30
mtr 6f0f2e5325 [IMP] hr_payroll:removed 'Bank Advice' and 'Bank Advice Lines'
bzr revid: mtr@mtr-20110303100753-jdc0o3nddrlv21jv
2011-03-03 15:37:53 +05:30
mtr d840425793 [IMP] hr_payroll:renamed 'hr.allounce.deduction.categoty' to 'hr.salary.head' and improved its object and fields
bzr revid: mtr@mtr-20110303095226-kga2d2ulq0mhb4ne
2011-03-03 15:22:26 +05:30
mtr dcd7a887b1 [IMP] hr_payroll:removed 'hr.payslip.line.line' from code and view.
bzr revid: mtr@mtr-20110302101736-v9xhxj0hbpted3bt
2011-03-02 15:47:36 +05:30
mtr 5778a97065 [IMP] hr_payroll:removed company contribution object and merged it with salry rules
bzr revid: mtr@mtr-20110301095910-y1qhf82zms1lubrs
2011-03-01 15:29:10 +05:30
Vir (Open ERP) 9138707ef7 [MOD] hr_payroll : Improvements in access rights
bzr revid: vir@tinyerp.com-20101008124815-k6ti98b1a12pb74n
2010-10-08 18:18:15 +05:30
Mantavya Gajjar 15792bb9fa [IMP]: improve the hr_payroll module make it fully independent of account and hr_expanse module
Accounting functionalities to payroll will be added by the hr_payroll_account module.

bzr revid: mga@tinyerp.com-20101006124454-t1vgn6879dnu62ou
2010-10-06 18:14:54 +05:30
AMP (OpenERP) 3642e0a7e4 [IMP]hr_*: usability improvement in access rights
bzr revid: amp@tinyerp.com-20100918112051-bc4t609wp8o5vy9g
2010-09-18 16:50:51 +05:30
AMP (OpenERP) 3362c2ea82 [MOD]hr_*: usability improvement in access rights
bzr revid: amp@tinyerp.com-20100911131911-7k4g0r1b4kta30cc
2010-09-11 18:49:11 +05:30
AMP (OpenERP) 1d15f71146 [MOD] project_timesheet,hr_* : usability improvement in access rights
bzr revid: amp@tinyerp.com-20100901132905-hslnywxf4zxogxdo
2010-09-01 18:59:05 +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
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
Vir (Open ERP) 4a9ece3520 [MOD] hr_contract,hr_payroll : Modification in access rights
bzr revid: vir@tinyerp.com-20100804061834-jijidg5kujy8ckex
2010-08-04 11:48:34 +05:30
Vir (Open ERP) d35fdedc4b [ADD] New group added for payroll
bzr revid: vir@tinyerp.com-20100802132144-bz3221dghae6crpd
2010-08-02 18:51:44 +05:30