summaryrefslogtreecommitdiff
path: root/addons/project
AgeCommit message (Collapse)Author
2019-04-23[FIX][IMP] various: improve lang computation in mail templatesThibault Delavallée
Purpose: add lang definition on templates where it is missing Related to task 1972615 Linked to PR #32872
2019-04-23[FIX][IMP] various: improve recipients computation in mail templatesThibault Delavallée
Purpose: use more email_formatted when possible, clean and simplify email_from, email_to and partner_to computation. Next step is to try to extract some common patterns in tools or methods in order to simplify template creation and customization. Related to task 1972615 Linked to PR #32872
2019-04-19[IMP] project: UX Improvement of edit project form view.Parth Patel
Display field in two groups to display in four column. Plus, email_from is used to 'Allow communication with a customer without creating a partner'. Since this field is not very useful, it is best to hide it to clean the UI. Something was already done at aa33c8153516885 task-54027 closes odoo/odoo#22845 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-04-19[FIX] web, project: consider context pivot_row_groupbyParth Patel
Fixing missed 'pivot_row_groupby' assigned to groupedBy in pivot_model.js in Load function (Already done in reload function), which was missed in commit 42f22a2. Added qunit test case for testing correct value. Apply pivot_row_groupby on user in project task-54027
2019-04-18[MOV] web, project: make cover image generic in kanbanSuraj Shukla
Previously, we could only set cover image on the kanban view of project task. This commit makes the feature generic so now cover image can be added to any kanban view. Technical notes: - field used to display the cover image has to be set as 'data-field' attribute on the kanban dropdown's menu related to cover image - developer will have to take care while designing kanban views with cover image ability in such a way that it does not break the design Task 32108 closes odoo/odoo#31731 Signed-off-by: Martin Geubelle (mge) <mge@openerp.com>
2019-03-27[IMP] Project: Add group tasks by create_dateqmo-odoo
This commit adds the possibility to group tasks by their creation date Task: #1959603 PR: #32142 Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
2019-04-04[IMP] tests, *: add start_tour helperSébastien Theys
Before this commit, the syntax to start a tour was extremely verbose. With this new method, it is possible to start a tour by just giving the essential parameter: the tour name. The full set of features from browser_js are kept by using **kwargs. closes odoo/odoo#32316 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2019-04-02[FIX] project: adding channels members to a private projectGoffin Simon
Steps to reproduce: - Create a channels C with user A linked to an employee E - Create project P with privacy_visibility='followers' meaning only visible for employees that follow P - Add the channel C as a follower of P - Log as user A go to Project app Bug: The project P is not readable for A opw:1958386 closes odoo/odoo#32324 Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2019-04-01[MERGE] forward port branch saas-12.2 up to 18c735361a6Christophe Simonis
2019-03-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-29[MERGE] forward port branch saas-12.1 up to c0cf4049b2aChristophe Simonis
2019-03-29[MERGE] forward port branch 12.0 up to 09fb2469b49Christophe Simonis
2019-03-29[IMP] mail, *: don't track fields at createXavierDo
*: project, crm, maintenance, helpdesk, It is useless to track fields during create since they have no initial value and future tracking message will show changes on tracked field. We can log a default creation message instead (as it is now if there is no mail_create_nolog context key) This change will implies - less queries when creating record - cleaner creation messages - less occurence of mail_create_nolog ctx key Removing tracking at create could break the creation subtypes mechanism (example: following task creation subtype on project) Instead of using _track_subtype to give a subtype at create, a new _creation_subtype method can be override. If a creation subtype is set on a specific modlel, creation messages will be create by message_post instead of _message_log. We also need to adapt the message_track_post_template in order to keep this feature whithout tracking. Task: #1916916 closes odoo/odoo#31945 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-03-29[FIX] project: remove old hackMartin Trigaux
This code was to be removed in saas-7 (which went the way of the dodo) project_time_mode_id is now only on hr_timesheet This was creating an ir.model.data entry with res_id=0 (not record found). A ir.model.data without id triggers a warning in the trans_generate method when trying to export the translations of the module project (where the reference fails to be resolved)
2019-03-28[FIX] *: put all mail.message.subtype as noupdateNans Lefebvre
The mail.message.subtype model contains a field internal, which decides if the messages are visible to external users or not. Such a value should not be overriden at module update, so all subtypes should be in noupdate. opw 1946043 closes odoo/odoo#32214 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
2019-03-28[IMP] mail, test_mail, *: add new email.cc.mixin on main modelsXavierDo
*: crm, project, maintenance, hr_recruitment When a record is created from an email, cc can be lost. This commit proposes a new mixin to keep cc on the record and allows to create partner for each of them when sending a message from the chatter. The mixin is added on the mail recors that can be created from mail.alias: document helpdesk.ticket mrp.eco quality.alert hr.applicant crm.lead project.task mail.channel maintenance.equipment Task: 1925001
2019-03-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-21[MERGE] forward port branch saas-12.1 up to 6878c9f3424Christophe Simonis
2019-03-20[I18N] export saas-12.2 source termsMartin Trigaux
closes odoo/odoo#31985 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-03-19[MERGE] forward port branch 12.0 up to 82c4393fd02Christophe Simonis
2019-03-18[FIX] project: Access to attachments with CDNToufik Ben Jaa
- The attachments in the tasks page on the portal can be accessed by clicking on them. They are delivered by the controllers at URL `/web/content/XXXXX`. By default when enabling the Content Delivery Network feature on the website module, the content delivered by the controller `/web/content/` is done through the CDN which has no user account, thus may not have access to the attachment. To fix the issue, we disable the CDN feature for the attachments in the tasks portal page. OPW-194571 closes odoo/odoo#31924 Signed-off-by: Toufik Benjaa (tbe) <tbe@odoo.com>
2019-03-14[MERGE] forward port branch 12.0 up to a26496b6e79Christophe Simonis
2019-03-14[MERGE] forward port branch saas-12.1 up to ff1bca32f3aChristophe Simonis
2019-03-25[MERGE] forward port branch saas-12.2 up to 230ad8c381eChristophe Simonis
closes odoo/odoo#32088 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-03-06[REF] project: adapt code after jQuery updateVincent Schippefilt
Part of task 1896658 Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Christophe Matthieu <chm@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by: David Monjoie <dmo@odoo.com> Co-authored-by: Martin Geubelle <mge@odoo.com> Co-authored-by: svs-odoo <svs@odoo.com> Co-authored-by: Vincent Schippefilt <vsc@odoo.com>
2019-03-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-08[FIX] project: double rating document name in searchNicolas Lempereur
The filter parent_res_name was already in the original search view so the duplicated one was not needed and caused to have two times the filter in the search view with possible different behavior. opw-1949559 closes #31707 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2019-02-22[MERGE] forward port branch saas-12.1 up to 0f4abc5c228Christophe Simonis
2019-03-05[IMP] base,*: Reorganize access rights groupsjbm-odoo
Purpose ======= Access group terminology is missleading. Yous have to be manager to administrate an application. This task consists to rename groups to be understandable for everyone. Groups should be reorganised on the users form to be more explicit. Specification ============= 1/ Rename 'Manager' to 'Administrator' in users groups. 2/ Define a hierarchy on access groups by using the category_id in the manifests A category 'Operations/Project' will create a category Project with a parent category 'Operations', and something smart is already developed (in modules/db.py) to avoid duplicating categories. 3/ Add a group in expenses to be able to approve expenses reports for my team. 4/ Add a group in timesheets to be able to approve timesheets for my team. 5/ Remove partially the useless crap in ir_module_category_data.xml 6/ Sort access rights groups on users form according to its parent category closes odoo/odoo#29362 Signed-off-by: "Yannick Tivisse (yti)" <yti@odoo.com>
2019-02-21[MERGE] forward port branch 12.0 up to 84143a34b31Christophe Simonis
2019-02-19[IMP] project: edit project form small reorgGeoffroy Larue
Add a new group in the settings page, allowing to put some others settings on the right side of the page (needed in enterprise). Task-1942377 Closes #31212
2019-02-19[IMP] *: Add progress bar on kanban views based on activitiesVandan Shah
Purpose ======= If the activities are available on a model (i.e. inherits mail.activity.mixin), add a progress bar based on the activities if nothing is defined yet. closes odoo/odoo#24777
2019-02-15[FIX] project: subtask of duplicate project are linked to originalJulien (juc) Castiaux
When duplicating a project, every task linked to the project is duplicated too but the link between sub-tasks and their parent task is not updated thus they are left linked to the task of the original project. opw-1937371 closes odoo/odoo#31154
2019-02-15[REM] project, hr_timesheet: remove date_startGeoffroy Larue
Remove date_start in project.task model, because it is not useful. Now using date_assign instead for reporting. Add two ids in settings views to refer from enterprise modules. closes odoo/odoo#31101
2019-02-13[FIX] project: count tasks of child contactsChristophe Simonis
Allow to have the count to match the one you will get when clicking on statbutton (behavior changed by #27118). closes odoo/odoo#31081
2019-02-13[IMP] web, *: remove explicit references to `session_id`Martin Geubelle
Since rev. odoo/odoo@f4d541e the `session_id` cookie uses the `httponly` flag so it cannot be accessed through client side script. But before this rev. the `session_id` was still provided by the server to the webclient (in session_info, mostly) and was stored and accessible. This made XSS injection more dangerous than they should be as it was very easy to steal the `session_id`. As the browser automatically set the `session_id` on every request to the server, the webclient shouldn't need any explicit reference.
2019-02-11[MERGE] forward port branch saas-12.1 up to 93d736e905eChristophe Simonis
2019-02-15[FIX] project: remove duplicated step in tourAaron Bohy
closes odoo/odoo#31146
2019-02-07[MERGE] forward port branch 12.0 up to a46138cb019Christophe Simonis
2019-02-26[REF] *: use 'frontend' system in non-website appsqsm-odoo
* account, auth_signup, payment, portal, project, sale, sale_management, web_unsplash, website, website_mail, website_rating, website_sale This commit does probably not do what is stated for all non-website apps but it is a first step. It also uses the system in apps which could have already used it but did not. Part of https://github.com/odoo/odoo/pull/29442 task-1932066
2019-02-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-02-12[FIX] project: default context keyNicolas Martinelli
- Activate Sub-tasks in projects - Create a sub-task An `AccessError` is raised in `check_access_rule` of `mail.message`. The context is 'polluted' with a `default_parent_id` key, which is not necessary anymore at this point. opw-1924899 closes odoo/odoo#31022
2019-02-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-02-01[FIX] project, rating: use rating last update to compute satisfaction percentageNans Lefebvre
The function _compute_parent_rating_percentage_satisfaction used the creation date of the rating to compute the percentage. However when a client give a new rating, it updates the old one. As a result it doesn't give the recent satisfaction percentage, but the satisfaction percentage of recently created tickets. In other words recently angry clients from old projects would not appear. Similarly this method is somewhat reimplemented directly in SQL in the rating route, which happens to be in the project controller. opw 1921486 closes odoo/odoo#30752
2019-02-04[FIX] project: state, priority and title alignmentPierre Paridans
Priority's star, Kanban State's bullet and name fields should be well aligned and take less space (specially for small devices). Related to task 1929034 closes odoo/odoo#28965
2019-02-03[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-02-05[IMP] project: Clean timesheet related fields on task formHetal Dhanak
-Moved the share Button to the dropdown Action menu as it was better suitable there. -moved sale order item field to extra info as it was better suitable there. -changed display of settings for project to give it organized look. Related Task ID: 1928422 closes odoo/odoo#30310
2019-01-27[I18N] Update translation terms from TransifexOdoo Translation Bot