Commit Graph
48 Commits
Author SHA1 Message Date
jem-odoo 3dd3e26483 [IMP] project: a project is not an analytic account anymore !
This commit removes the inheritS between account.analytic.account and
project.project. This means :
- When a project is created, an analytic account is not necessarily
genareted
- project has now its own name, company_id and partner_id fields
- an analytic account can be linked to several project
- project module does not depend anymore of analytic, but hr_timesheet
does.

This change implied
- an analytic account is required on project to timesheet on
its tasks. So, when checking 'allow_timsheets', if an AA is not
provided at project creation, an AA will be generated.
- to timesheet on project, an active AA is required. We don't want
timesheeting on project linked to unused AA to avoid bad analytic
entries.

This prepare the fact a sale order can create multiple project, sharing
the same analytic account (the one from the SO).
2018-04-06 14:30:47 +02:00
XavierDo 2966d4faed [IMP] product: rename product.uom into uom.uom
Also rename product.uom.categ into uom.category to
 give it a decent name.
2018-02-26 14:27:26 +01:00
XavierDo 6a378e3839 [IMP] product: move uom in a new addon
Moves UoM models, test and data to a new addon in
order to be able to use uom without product.
A simple example is be to be able to use UoM for
timesheets.

This commit only move code, and adapt xml ids
without chaging any feature or functionnal
behavior.
Note: 'product' module now depends on new
'uom' module.
2018-02-26 14:27:26 +01:00
Jérome Maes 71d56cc398 [REM] website_project_timesheet: move to hr_timesheet
Since project depends on portal, this module can be removed.
2017-08-16 14:56:42 +02:00
Jérome Maes a806f96fa2 [IMP] hr_timesheet: ease time tracking use of timesheets
Purpose of timesheet module is to track user time. This commit applies
various improvements and tweaking to better reflect this purpose.

This commit provides some UI improvements

 * improve views : user_id field is not displayed on 'My Timesheet'
   action, since it will always be the same user;
 * simplify menus : 'My timesheet' only for current user's timesheets
   and 'All timesheet' for everyone's. The latter one allows creating
   timesheets for someone else, if you have the required access rights;
 * add calendar views for timesheets
 * some filters are added to ease time-based filtering of timesheets

This commit also reorganizes user groups. Groups are now

 * new 'timesheet user' group (different from base.group_employee). Users
   can record their own timesheet. New access rights were added to perform
   the same operations as before.
 * 'timesheet manager' (hr_timesheet.group_manager). Users can record
   timesheets for other users, access to settings and reporting tools.
2017-04-27 10:34:51 +02:00
Foram Shah 9b589ad8c5 [REM] hr_timesheet: removed invoicing dependency from timesheet 2016-09-16 14:46:40 +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
Xavier Morel 037e61af32 [REM] hr_timesheet: hr.timesheet.report
* removed hr.timesheet.report as it's mostly redundant with regular
  views on analytic lines
* moved "detailed activities" to reporting, renamed it, added a pivot
  view
* redirected timesheet link from HR dashboard to the detailed activities
  action

  - added department_id to analytic lines as that link is filtered by
    department
  - fixed bug in kanban view: button context wasn't evaluated in the
    correct context
2016-05-02 19:20:14 +02:00
Tanguy Charlier 16bf40f7c4 [IMP] hr_timesheet: Timesheet entries are now related to projects
- Hide account_id field and add a required project_id field on timesheet entries
- Remove is_timesheet field: as project_id is only required for timesheet entries and not for other analytic lines, it can be used to determine wether a line is a timeheet entry or not.
- Remove project_timesheet module as all its functionalities are moved to hr_timesheet
- Replace timesheets on contract option on products by timesheets on project
- Small fixes and improvements in timesheets and projects views and groups
2016-02-18 01:25:55 +01:00
Nicolas Martinelli e021a08b30 [IMP] hr*: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- No journal since invoicing is managed in Sale
- No invoicing from timesheet

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
qdp-odoo c04065abd8 [IMP] accounting v9. Yeeeeaah 2015-05-05 17:28:04 +02:00
odoo-tac 14183ba2be [REF] Refactored hr_timesheet: Refactored the "timesheet" model in several modules. hr.analytic.timesheet is removed, and account.analytic.line is used directly to represent timesheets.
Also removed worklogs on tasks and replaced them by generic timesheets, i.e. account.analytic.line(s)
2015-04-28 10:31:18 +02:00
Christophe Simonis d64fe8279b [MERGE] forward port of branch 8.0 up to c92e70b 2014-11-17 17:31:12 +01:00
Martin Trigaux ef55d19e34 [FIX] hr_timehseet: restrict access right
Fix error while moving it at ca209eb
2014-11-13 11:26:44 +01:00
Rucha Dave ca209eb184 [FIX] hr_timesheet(_sheet): access rights on report
hr.timesheet.report was moved from hr_timesheet_sheet to hr_timesheet but not the ir.model.access
Avoid warning "The model hr.timesheet.report has no access rules, consider adding one."
Fixes #3319
2014-11-13 11:03:22 +01:00
cod-odoo a301b4c7fc [MOVE] account: moved account/project files to analytic or account, depending on which module the moved code belongs to. This allows to remove references to project in account module. Also added some improvements in project when deleting a project (delete account if void) or when deleting an account (delete project if void). 2014-08-04 13:23:46 +02:00
Denis Ledoux dle@openerp.com 7e1ffaf613 [REM]Remove all account.journal.view and account.journal.column references
bzr revid: dle@openerp.com-20121122104504-ezgj2666zkhgybpj
2012-11-22 11:45:04 +01:00
Amit (OpenERP) 7cc6d92d16 [FIX] hr_timesheet : user allow to delete his own timesheet line
lp bug: https://launchpad.net/bugs/939294 fixed

bzr revid: amp@tinyerp.com-20120430100828-fxpbkij4igmi36io
2012-04-30 15:38:28 +05:30
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
Fabien Pinckaers 696b7100be fix
bzr revid: fp@tinyerp.com-20110917145407-qp45yk4ma7mo6pp3
2011-09-17 16:54:07 +02:00
Hardik Ansodariy (OpenERP) 2296b52568 [IMP]:improved hr module
bzr revid: han@tinyerp.com-20110711112329-72h3rbgs0n06pzs1
2011-07-11 16:53:29 +05:30
mtr eee73abb9d [FIX] hr_timesheet: changed the access rights for analytic journal user,employee can now encode his timesheet
lp bug: https://launchpad.net/bugs/767153 fixed

bzr revid: mtr@mtr-20110608133439-mx2v1fod5jczpamf
2011-06-08 19:04:39 +05:30
ARA (OpenERP) bbdec831a7 [FIX] hr_timesheet: An employee cannot encode his own timesheet
lp bug: https://launchpad.net/bugs/767153 fixed

bzr revid: ara@tinyerp.com-20110517054158-83r20bep8hnhqaek
2011-05-17 11:11:58 +05:30
ARA (OpenERP) 53ea40d8e9 [FIX] hr_timesheet:an employee shouldn't be able to see all timesheet line
lp bug: https://launchpad.net/bugs/755659 fixed

bzr revid: ara@tinyerp.com-20110411070035-rmd3l2a1g3zdfomt
2011-04-11 12:30:35 +05:30
François Degrave fb250aaa6a [IMP] HR access rights
bzr revid: fde@openerp.com-20101229130758-hs1xxnj8zm45fl6c
2010-12-29 14:07:58 +01:00
Harry (OpenERP) 20ab1d1df4 [FIX] account: security
bzr revid: hmo@tinyerp.com-20101229085716-y13ctpn3ptenrfl0
2010-12-29 14:27:16 +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
AMP (OpenERP) 6c8bc73943 [MOD/IMP]hr_*: usability improvement in access rights
bzr revid: amp@tinyerp.com-20100920102935-xuwe0m1it6foy5wh
2010-09-20 15:59:35 +05:30
AMP (OpenERP) b4a3da2cc0 [MOD]hr_*: usability improvement
bzr revid: amp@tinyerp.com-20100918073924-3020grhwot6v837w
2010-09-18 13:09:24 +05:30
AMP (OpenERP) 01d5194378 [Merge]
bzr revid: amp@tinyerp.com-20100918053839-c1ob3r2pf54frh7s
2010-09-18 11:08:39 +05:30
Vir (Open ERP) aaea54012a [FIX,MOD] hr_*, survey : problem with access rights are sovled
bzr revid: vir@tinyerp.com-20100917120814-e45m5gwpqvrirk8y
2010-09-17 17:38:14 +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) 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
Jni (Open ERP) 35cc919184 [MOV]:hr_timesheet,hr_timesheet_sheet:Moved Timesheet Analysis in to the hr_timesheet_sheet module.
bzr revid: jni@tinyerp.com-20100707135458-11y9sep9trk3x8x1
2010-07-07 19:24:58 +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
UCO (OpenERP) 3217cf7e4c [REM]: Removed access rules for OSV memory objects
bzr revid: rpa@tinyerp.com-20100628134938-23kiccr4355jfhmg
2010-06-28 19:19:38 +05:30
Fabien Pinckaers fde1a06f5a [IMP] report on hr_timesheet + fixes
bzr revid: fp@tinyerp.com-20100625100743-m0sklyrvtad4ykoy
2010-06-25 12:07:43 +02:00
atp (Open ERP) 51f24907b0 [MERGE]: merge with lp:~openerp-dev/openobject-addons/trunk-dev-addons3
bzr revid: atp@tinyerp.co.in-20100614054449-kov9r566gpvqohey
2010-06-14 11:14:49 +05:30
atp (Open ERP) 70edef7787 [IMP]: hr_timesheet: Improvement in hr_timesheet_sign_in_out wizard for emp_id field.
bzr revid: atp@tinyerp.co.in-20100614051659-2ecn73g7m1awf37t
2010-06-14 10:46:59 +05:30
Fabien Pinckaers 220eac1612 fix
bzr revid: fp@tinyerp.com-20100611132211-zd8zff7aq2ifgsde
2010-06-11 15:22:11 +02:00
Fabien Pinckaers 672f3e8d6c [IMP] access rights improvements
bzr revid: fp@tinyerp.com-20100611125528-mlhkzlditz2awk1k
2010-06-11 14:55:28 +02:00
husen daudi c41b085679 improve security rights for timesheet (ref:nch)
bzr revid: hda@hda-20090219063537-p2xmlsgu2n1n3zvf
2009-02-19 12:05:37 +05:30
Christophe Simonis 1a138e1454 fix and complete access rules
bzr revid: christophe@tinyerp.com-20081017162038-kzsgroivk73t0vyx
2008-10-17 18:20:38 +02:00
Fabien Pinckaers 51f8c2b263 Better Security Rules
bzr revid: fp@tinyerp.com-20080903224650-u1oadqv9x75atmyl
2008-09-04 00:46:50 +02:00
Fabien Pinckaers b4d6690794 Improved Security
bzr revid: fp@tinyerp.com-20080903180400-df7l6wxg1zpirmmi
2008-09-03 20:04:00 +02:00