summaryrefslogtreecommitdiff
path: root/addons/project/tests/__init__.py
AgeCommit message (Collapse)Author
2020-10-15[IMP] project: enable config-selected features in projectsDominik Rubo
This change ensures that when the user activates optional features of the project app, they are enabled in existing projects as well as newly created projects automatically, which is likely what the user expects. For most optional features, this behavior was already in place. It was not in place yet for the sub-tasks and timesheets features, which this change fixes. Two added tests check the behavior described above for features that are activated through a `group_*` field on `res.config.settings` (sub-tasks, recurring tasks and ratings). The tests do not cover features that are activated through a `module_*` field, as such fields require the installation of further modules and we cannot simulate this. Task 2297054 closes odoo/odoo#58692 Related: odoo/enterprise#13641 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com> Co-authored-by: Kevin Baptiste <50135801+kba-odoo@users.noreply.github.com>
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-01-14[IMP] project: Following a private project no longer requiredLucas Lefèvre
======= Purpose ======= Currently for a user to be allowed to see a private project they must follow the project. This means that they will be added as a follower of all new tasks in the project which causes them to receive 1000000 notifications, especially if there are a lot of tasks in a project. ============== Specifications ============== 1) Add an Employee m2m field on project next to 'Invited Employees' - only visible if the 'Invited Employees' option is selected - the project should only be visible to employees selected there (regardless if they are followers or not) 2) Add an Employee m2m field on tasks below the 'Email cc' one in debug mode - only visible if the 'Invited Employees' option is selected on the related project - should be pre-filled with what is set on the project - the task should be visible to employees selected there (regardless if they are followers or not) 3) Add a Portal users m2m field on project next to 'Portal users and all employees' - only visible if the 'Portal users and all employees' option is selected - the project should only be visible to portal users selected there (regardless if they are followers or not) - rename the option into 'Invited portal users and all employees' 4) Add a Portal users m2m field on tasks below the 'Email cc' one in debug mode - only visible if the 'Portal users and all employees' option is selected - should be pre-filled with what is set on the project - the task should be visible to portal users selected there (regardless if they are followers or not) 5) Following a project/task should not grant the user/employee the ability to see the project/task Task 2031527 closes odoo/odoo#40505 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-09-27[IMP] project: multi company subtasksjem-odoo
This commit makes possible the task delegation in a multi company environement. A subtask is a normal task with a parent, but can now be in a different company, to be use as subcontracting task in another company. Tests are added to check multi company consistency for the project app in general and for the subtask cases. Task-1999686
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-07-18[IMP] *: activate automatic tour testsqsm-odoo
* project, crm, point_of_sale, website, website_sale, website_blog, website_event, website_forum
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-03-24[REF] mail: migrated tests to the new API and refactored them.Jignesh Rathod
Tests have been migrated to the new api to prepare the migration of the mail module itself. Moreover tests have been cleaned: redundant tests and unnecessary tests have been removed. As the base test class in mail is used in other addons, other addons have been updated : - portal - project - portal_project - website_project_issue - sale - purchase Future commits will come with somes fixes for issues detected when cleaning the tests.
2015-01-19[MERGE] forward port of branch 8.0 up to 0aab81cChristophe Simonis
2015-01-15[FIX] remove deprecated checks/fast_suite test attributes from standard modulesXavier Morel
2014-12-31[REF] remove vim modelines and resulting trailing blank linesLeonardo Donelli
Let 2015 be a year without modelines! cf #4174
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