summaryrefslogtreecommitdiff
path: root/addons/project/security/ir.model.access.csv
AgeCommit message (Collapse)Author
2020-08-12[IMP] project: add recurring tasksKevin Baptiste
Some interventions are done on a regular basis (e.g. maintenance of fire alarms, safety inspections). Having tasks auto-generate would facilitate the process and would ensure that the next intervention isn't missed/forgotten. closes odoo/odoo#55517 Taskid: 2172156 Related: odoo/enterprise#12246 Related: odoo/upgrade#1604 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-04-22[IMP] project: ease stage deletionKevin Baptiste
Before this commit, deleting a stage with tasks, the user received an error. With this commit, when deleting a stage containing tasks, a wizard offers the choice to move the tasks to another stage. closes odoo/odoo#46410 Taskid: 1869030 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-04-17[REF] mail: make alias mixin multi-enabledryv-odoo
Purpose of this commit is to allow multi-create in alias mixin by correctly creating / updating aliases in batch. Task ID 1919277 Community PR odoo/odoo#41160 Enterprise PR odoo/enterprise#6983 Upgrade PR odoo/upgrade#872 Co-Authored-By: Rémy Voet <ryv@odoo.com> Co-Authored-By: Thibault Delavallée <tde@odoo.com>
2020-04-08[IMP] project: improve usability (back2basics)Kevin Baptiste
* Reword tasks in the sample project * Add a "Create and Edit" button on the project creation modal * Open the file chooser in "Set a cover image" if there are no images set * Correclty display the kanban state button on archived task * Add a button to list the tasks when deleting a project * Open file chooser for cover image: Automatically open the file chooser when setting a cover image on a task if there are no attachments to chose from. closes odoo/odoo#47306 Taskid: 2209133 Related: odoo/enterprise#9141 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-10-04[FIX] board,mail,project: remove spaces from external IDsLuis González
This was already performed on 3c568aec0b46, but there still are some remnants on model access records. Fixes odoo/odoo#25408 Closes odoo/odoo#37946 closes odoo/odoo#37958 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-08-21[FIX] project: portal user can not read AAjem-odoo
For historical reason (problably the inheritS between project and AA, removed in 12.0), portal user can read Analytic Account. This makes no sense, as it is a purely internal resource for companies. Removing the access rights don't change anything for portal user and make those data secure. Task-1911581
2019-05-24[IMP] project,hr_timesheet: move analytic account business to projectjem-odoo
When we remove the inheritS between project and analytic account, we move the analytic_accound_id field in timesheet because it was the only use case for a project to be linked to an analytic account. This commit prepares new cost origin for a project (other that timesheet). Register costs on project will required an analytic account to keep analytic costs tracking. The analytic account management is now moved to project, like it was in 10.0, but without the inheritS. Task-1911581
2018-04-06[IMP] project: a project is not an analytic account anymore !jem-odoo
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).
2017-12-22[IMP] mail: improve activity types behavior and access rightsThibault Delavallée
First purpose of this commit is to limit access on activity types. Employees can now only read activity types. Indeed defining or modifying activity types should not be done by employees as it impacts daily work of all other employees. Specific app-based rights are added for project and sale managers. Those have a specific menu to configure activity types, meaning they should also have the access rights to do so. Also including : * ease default computation for res_model_id of activity types: using default_res_model in context it is possible to specify a default res_model_id. It is useful for example to give a specific context in configuration menus; * add a domain on res_model_id field in order to limit it to models inheriting from mail.thread and not being transient; * various improvement in activity type form view to ease configuration notably the # days renamed to planned in;
2017-08-16[MOV] website_project,project: move all featuresJérome Maes
Making project depending on portal, makes website_project useless. So move all feature from one module to the other.
2016-09-02[IMP] project: Replace 'Cumulative Flow' by a fovorite filter in task reportYannick Tivisse
This report is too advanced and/or complex to be a single menuitem. Furthermore the model was a mess and a horn of plenty for bugs. The class ProjectTaskHistoryCumulative inherits from the class ProjectTaskHistory, and create a view based on the same model.The orginal class defines a compute field 'end_date' which calls a compute method '_compute_end_date' that will either make a simple assignment or a SQL request if the columns is always opened or folded. As ProjectTaskHistoryCumulative is declare with '_auto=False' the compute method will try to write on this table, which is obviously wrong because we are trying to write on a view. This leads to erors when trying to edit a project stage like: OperationalError: cannot update view "project_task_history_cumulative" DETAIL: Views that do not select from a single table or view are not automatically updatable. HINT: To enable updating the view, provide an INSTEAD OF UPDATE trigger or an unconditional ON UPDATE DO INSTEAD rule. or when trying to delete a column which already contains some tasks. So we removed this these models and view and replaced them by a simple favorite filter in the Tasks Reports
2016-07-06[ADD] website_project: Portal access to ProjectsAntony Lesuisse
Split project to move portal features to a new module named website_project. Portal users may now access their projects and tasks throught the website_portal My account page. The Backend portal menuitem is removed. Simplify the privacy settings of project, to be visible to portal users the project must be in 'portal' mode. Original authors: Vipul Bhatt, Florian Wintjens
2016-06-09[IMP] base,sales_team: Move res_groups and menuitems to sales_teamYannick Tivisse
Purpose: Having the res_group defined in base and sales_team auto installed with mail doens't make sense. - Move the empty res_config class and the related view from base_setup to sales_team (base_setup only contains the 'General Settings' model and views - Move the 'sale' related content from product to sale module (Access rights, menuitems,...) - Set sales_team at autoinstall False. The module is installed when needed by crm or sale for example - Set sales_team as a dependency of voip. (Access rights defined for configuration purpose) - Set sales_team ad a dependency of subscription (Access rights issue too) [FIX] account: move some ir.model.access to sale module [FIX] payment: Move some ir.rule to website_sale [FIX] stock: move some ir.model.access rule to sale_stock [FIX] project: Move some ir.model.access rules to crm_project_issue [FIX] mrp: Move some ir.model.access rules to sale_mrp [FIX] calendar: move some ir.model.access rules to crm Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes sales_team.group_sale_manager. [ADD] sales_team: See own documents => See only his sales team Moved the "User: Own Leads Only", "User: All Leads" and "Manager" groups from sale and crm into sales_team module. Add the record rules so that user can see only his Own Sales Team if "See Own Leads" is sales right and can see all sales teams if he is having sales rights of "See All Leads" or manager.
2016-06-06Revert "[IMP] base,sales_team: Move res_groups and menuitems to sales_team"Yannick Tivisse
This branch need more testing instead of doing 10 fixes. A lot of issues are occuring when installing modules in different orders. This reverts commit fa6e415cdb23ce9494487ed672792186157b40e0.
2016-06-06[IMP] base,sales_team: Move res_groups and menuitems to sales_teamYannick Tivisse
Purpose: Having the res_group defined in base and sales_team auto installed with mail doens't make sense. - Move the empty res_config class and the related view from base_setup to sales_team (base_setup only contains the 'General Settings' model and views - Move the 'sale' related content from product to sale module (Access rights, menuitems,...) - Set sales_team at autoinstall False. The module is installed when needed by crm or sale for example - Set sales_team as a dependency of voip. (Access rights defined for configuration purpose) - Set sales_team ad a dependency of subscription (Access rights issue too) Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes sales_team.group_sale_manager.
2015-08-27[IMP] project*: adaptation due to the new Sale moduleNicolas Martinelli
Major changes: - New start and expiration dates - Remove field Contract Status - Simplified because use of sale_timesheet Reason: complete rewrite of the Sale module. Responsible: fp, dbo, nim
2015-08-27[FIX] project: task stage access right issueThibault Delavallée
Employees (base.group_user) can read tasks. However they miss the right to read task stages (project.task.type). This causes issues when reading the form view of a task. This commit fixes this issue.
2015-08-14[IMP] project,project_issue,project_timesheet,project_issue_sheet: project ↵Damien Bouvy
visibility and access rights modifications [REM] portal_project: move ALL the things - move portal access rights from portal_project and website_project_issue to project and project_issue - move portal menuitems back to their respective module - remove public visibility of projects - adapt demo data to have a 'Demo Portal' project - add correct access rights for account.analytic.line for portal users - small view tweak (do not display 'timesheet' tab if one can't see antyhing in it anyway)
2015-05-12[IMP] project,project_issue,portal_project: code cleaningPariket Trivedi
- remove unnecessary copy() method from project/res_partner.py - remove old methods on project.project - progress is not used anymore on project.project - use clickable statusbar for project states - remove _resolve_project_id_from_context - rename project.category becomes project.tag to be more explicit - remove old methods on tasks - issues: remove option fetchmail_issue
2015-04-28[REF] Refactored hr_timesheet: Refactored the "timesheet" model in several ↵odoo-tac
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)
2014-10-23[MERGE] forward port of branch saas-3 up to c89d1a0Christophe Simonis
2014-10-21[FIX] project: read access for project userMartin Trigaux
Backport of 79bed94 (project user access to resource.calendar) and adding the access to resource.calendar.attendance. It is needed to compute function fields such as day_open (present in form view of project.issue) Fixes #3201
2014-10-21[IMP] project: convert file CRLF to Unix end of lineMartin Trigaux
2014-08-19[FIX] project_issue: project issue user must be able to read resource calendarDenis Ledoux
In order to be able to read the days_since_creation field
2013-09-12[IMP]added access rights for manager and user in hr_recruitement and project ↵ima-openerp
module. bzr revid: ishwarmalvi13@gmail.com-20130912132859-lwxivwsrld9ccf2c
2013-07-10[TESTS] project: refactored tests. Moved surviving yml tests into unittest; ↵Thibault Delavallée
added mailgateway test. bzr revid: tde@openerp.com-20130710101508-62eh89gzq22qvpq5
2013-02-05[IMP] project: set mail alias rights to project_managerAjay Chauhan (OpenERP)
bzr revid: cha@tinyerp.com-20130205070036-e1ghl2dufz83mwf8
2012-12-11[IMP] demo for french usersArnaud Pineux
bzr revid: api@openerp.com-20121211140346-bhh8o1rf5h57epcz
2012-08-16[IMP] hr_recruitment, project: better access rules for categoriesAntonin Bourguignon
bzr revid: abo@openerp.com-20120816144403-4nd2bbiq5dfnwc2i
2012-07-09[MERGE] Merged with main addons.Thibault Delavallée
bzr revid: tde@openerp.com-20120709081834-18pf4bol39s50uno
2012-07-06[MERGE] fix in access rightsFabien Pinckaers
bzr revid: fp@tinyerp.com-20120706150817-s01gbb4gga6dxybm
2012-07-03[MERGE] Merged with addons/trunk.Thibault Delavallée
bzr revid: tde@openerp.com-20120703122020-79rl9b03mygz5s0h
2012-07-02[IMP]fixing sale application related access errorsDharti Ratani (OpenERP)
bzr revid: dhr@tinyerp.com-20120702084420-4f5ouv9rrf0m7w01
2012-06-29[MERGE]Dharti Ratani (OpenERP)
bzr revid: dhr@tinyerp.com-20120629060714-iwdnbocw1ygt3pwz
2012-06-28[IMP] fix project dashboard, removing bad reports, imp dashboardFabien Pinckaers
bzr revid: fp@tinyerp.com-20120628163009-xeiz0xewhqzoimxl
2012-06-18[IMP]project user read access to analytic accountDharti Ratani (OpenERP)
bzr revid: dhr@tinyerp.com-20120618124305-6la3hyl6gz0t27jv
2012-06-18[IMP]allocating all accessrights of project to a project managerDharti Ratani (OpenERP)
bzr revid: dhr@tinyerp.com-20120618071339-101ym86uisbxmr2i
2012-06-15[IMP]Project - fixing access rights for project user and managerDharti Ratani (OpenERP)
bzr revid: dhr@tinyerp.com-20120615124316-m8vx3pq2jmjl4o46
2012-05-08[REM] Removed mail.message access rights defined in various modules. ↵Thibault Delavallée
mail.message access rights will be defined as attachments. bzr revid: tde@openerp.com-20120508135509-ujeqpgh83uui6nbz
2012-03-07[IMP]project: remove res.partner.addressKuldeep Joshi (OpenERP)
bzr revid: kjo@tinyerp.com-20120307070225-h95rszb7idselhfj
2012-01-05[FIX] project : mail right to project userKuldeep Joshi (OpenERP)
lp bug: https://launchpad.net/bugs/912182 fixed bzr revid: kjo@tinyerp.com-20120105124545-biu8a9cphhcz8vmx
2011-12-23[FIX] on project, timesheetsFabien Pinckaers
bzr revid: fp@tinyerp.com-20111223100053-pi9qw3tt5i1a7r2c
2011-12-12[IMP] Security Rule: removed duplicates due to inheritancies of groupsFabien Pinckaers
bzr revid: fp@tinyerp.com-20111212181113-mhnnbps3ip8ls6pp
2011-12-03[NEW] Project Cumulative Flow and Task History for KanbanFabien Pinckaers
bzr revid: fp@tinyerp.com-20111203140427-jf57fyvvo60g31dl
2010-12-28[IMP] access rightsFabien Pinckaers
bzr revid: fp@tinyerp.com-20101228145253-192pr7ifqlyt90jn
2010-12-28[FIX] dependencies in security groupsFrançois Degrave
bzr revid: fde@openerp.com-20101228083043-6sfsuh4uvqvhu3ap
2010-10-17[IMP] access rights, account tax include no more required, some fixesFabien Pinckaers
bzr revid: fp@tinyerp.com-20101017203119-2p80zc0nz6tjpxr8
2010-10-16[IMP] access rights cleaningFabien Pinckaers
bzr revid: fp@tinyerp.com-20101016164709-8w551aaosqx0dufu
2010-10-15[IMP] project : improved access rights, group and menusjas
bzr revid: jas@tinyerp.com-20101015141126-gzqsm3jm4sei200d
2010-08-27[Fix] Project: Fix the access rule of project managersbh (Open ERP)
bzr revid: sbh@tinyerp.com-20100827055847-6f4eq16xc3pofqp8