summaryrefslogtreecommitdiff
path: root/addons/project
AgeCommit message (Collapse)Author
2021-05-30[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-23[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-19[FIX] project: display share action on only form viewSwapnesh Shah
Before this commit, Share action was displayed on list view as well which doesn't makes sense as it will always use `active_id` only. With this commit, we are displaying `Share` action on form view only. opw-2530652 closes #70821 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2021-05-16[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-10[FIX] project: incorrect creation of recurring tasksalt-odoo
In case X several recurrences are processed in the same cron execution, only the last recurring task was created X times, while the other tasks were not created. There is also a missing id preventing a correct use of the default stage for the new created task. closes odoo/odoo#70633 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2021-05-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-23[FW][FIX] mail, various: fix document access link computationThibault Delavallée
Purpose of this commit is to fix computation of access link. In some cases msg_vals modification leads to invalid URL computation, notably for frontend or backend differentiation for target recipients. Followup of odoo/odoo#63292 . Task ID-2513724 COM PR odoo/odoo#69607 ENT PR odoo/enterprise#17849 X-Original-Commit: odoo/odoo@2015ef463c9ac7c7f89d543745c02a2d1528acf2
2021-04-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-07[FIX] project: kanban select in selectionModeNicolas Lempereur
The custom code for project.project kanban view prevented the kanban to works in selectionMode (eg. kanban view to select a many2one record in mobile). opw-2490912 closes odoo/odoo#68894 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2021-04-04[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-25[FIX] project: remove chatter glitches in form without sheet tagIpsita Borisagar
Before this commit: In edit mode, glitching of chatter is visible in project.task's form view (without sheet tag). After this commit: Removed this glinch of chatter and displaying it with full width in the form (without sheet tag). Links PR https://github.com/odoo/odoo/pull/65447 Task- 2411632 closes odoo/odoo#66799 X-original-commit: f2f27b6da33e74121912ed95d1cbf54dc6d0ca90 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2021-02-17[FIX] project: remove chatter glitches in form without sheet tagIpsita Borisagar
Before this commit: In edit mode, glitching of chatter is visible in project.project's form view (without sheet tag). After this commit: Removed this glinch of chatter and displaying it with full width in the form (without sheet tag). LINKS PR https://github.com/odoo/odoo/pull/65448 Task- 2411632 closes odoo/odoo#65448 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2021-02-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-18[FIX] project: Creating project via service product deletes contact's dataGoffin Simon
Steps to reproduce the bug: - Let's consider a customer C1 with email address A1 and phone P1 - Let's consider a project PR with C1 as customer - Let's consider a service product P with: - Milestones (manually set quantities on order) as Service Invoicing Policy - Create a new project but no task as service tracking - PR as project template - Create a sale order SO with C2 as customer with A2 as email address and P2 as phone - Confirm the SO Bug: The email address and phone of C2 were changed into A1 and P1 instead of keeping A2 and P2 opw:2439459 closes odoo/odoo#66307 Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2021-02-02[FIX] project: filter when not requiredbit-odoo
Before this commit: A method action_subtask is including the other actions context if have which reflects while clicking on the Sub-tasks stat button. For examples: - When click on the stat button 'Sub-tasks' of any task which one is clicked by systray activity icon results - When click on the task menu in project there a default search filter 'My task' which also passes when click on 'sub tasks' stat button After this commit: Remove the context that startswith `search_default'. Hence, now subtask will display with the correct context. Task-2413127 closes odoo/odoo#65395 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2021-02-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-27[FIX] *: update tour sequenceMohammed Shekha
with this commit we are updating sequence of onboarding tours task-2444153 closes odoo/odoo#64846 Related: odoo/enterprise#15886 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2021-01-21[FIX] *: various tour fixesMohammed Shekha
with this commit we fixes various tour steps, remove steps from crm and sale tour and improve step selector in project tour. task-2444272 closes odoo/odoo#64835 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2021-01-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-19[FW][FIX] project: propagate internal subtypes to tasksPriyanka kakadiya
before this commit: while changing subtypes of the project it was only propagating those subtypes to the task, whose parent_id is set. internal subtypes are not propagating in the task of a project. So, filter internal subtypes and concat them with the subtypes which have parent_id. after this commit: internal subtypes will also propagate to their tasks closes odoo/odoo#62495 X-original-commit: odoo/odoo@2ad320e9050160725601b82fa6239c94aad93d20 X-original-pr: odoo/odoo#47336 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-01-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-14[REV] project: revert "[FIX] project : chatter wrong place"Alexandre Kühn
This reverts commit 1c7f135708ccca0ad2d54ec41964d5083f42a01b. The placement of chatter in `project.project` is intentional: it's in form sheet bg to prevent it taking 1/3rd of screen width in XL screen configuration on the right side. Reason to not want it is because the chatter has no conversation, and chatter with no conversation is basically just follower widget and attachment, both of which take up a very small area of screen. By being aside, they would take about 1/3rd of screen with mostly blank content. Task-2410310 closes odoo/odoo#64551 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-01-13[FIX] project: remove dependency cycle in compute methodRaphael Collet
The issue was triggered by the fact that editable fields are no longer computed when they have a default value. closes odoo/odoo#64359 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
2021-01-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-06[FIX] mail: send notification mail with right access link when using mail.threadAchraf (abz)
PURPOSE Notification may be sent using a generic mail.thread record, notably when sending user notifications. In that case links to view document are incorrect. HOW TO REPRODUCE Issue - Install "Approvals" - Submit new approval with you as "Request Owner" - Click on "View Approval Request" in your mailbox The link redirects to a 505 error Cause The model is not the correct one and the res_id is undefined Solution Specify the model and the res_id to _notify_get_action_link when creating the link with kwargs SPECIFICATIONS Propagate message value through various notification sub methods. That way we can rely on them if model seems void. Also limit values given as URL parameters to some white listed values. LINKS opw-2358846 Task ID-2379766 Followup of odoo/odoo#60998 Followup of odoo/odoo#61545 Closes odoo/odoo#63292 Closes odoo/enterprise#15585 closes odoo/odoo#64170 X-original-commit: 2b6d2b71f6c60bcf64db440473c88d1dc335acbf Related: odoo/enterprise#15588 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Co-authored-by: Achraf Ben Azzouz <abz@odoo.com> Co-authored-by: Thibault Delavallée <tde@odoo.com>
2020-12-17[FIX] project: fix infinite recurring tasks creationVictor Feyens
for repeat_type = 'forever' recurrences. Consider a recurrence creating a task every 15th day of the month. When the cron runs, it updates the next recurrence dates of the recurrence. But currently, the updated "next_recurrence_date" can be set to an earlier date than today, if the fixed day of the recurring task is earlier than the current day. This means that the recurring task to create every 15th of the month will be created the 15, the 16, the 17, the 18, ... until the next month begins (no task will be created when the cron runs before the 15th of a month). This commit enforces the next recurrence_date to be set after the current cron run, to ensure a task isn't wrongly created multiple times. This commit also includes the tests that led to the discovery of this bug. closes odoo/odoo#63518 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-12-17[FIX] project: fix infinite recurring tasks creationVictor Feyens
For recurrences of repeat_type = 'after', the daily cron would create tasks infinitely. * The cron creates recurring task for all recurrences for which next_recurrence_date < today. * next_recurrence_date was never updated. This commit ensures that next_recurrence_date is set to False for repeat_type = 'after' recurrences, when the last recurrence is created.
2020-12-21[IMP] project,sale_project: have partner_id many2One behave as in sale.orderLaurent Stukkens (LTU)
Prior to this commit the partners where sorted out by display_name in the project form view. After this commit the will be sorted out by their ranking, as it is the case in sale.order form view. task-2409761
2020-12-21[IMP] project: hide partner phone numberLaurent Stukkens (LTU)
task-2409761
2020-12-21[IMP] project,sale_project: have partner_id many2One behave as in sale.orderLaurent Stukkens (LTU)
Prior to this commit the partners where sorted out by display_name in the task form view. After this commit the will be sorted out by their ranking, as it is the case in sale.order form view. task-2409761
2020-12-10[FIX] project: Let be able to remove the company of analytic accounts.Jordi Ballester Alomar
You may want to use an analytic account for several projects of different companies, thus the correct way to proceed should be removing the company of the analytic account. closes odoo/odoo#63124 X-original-commit: 692705b3d6bb537c4277ff129a54ddd0dc8344cb Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-12-08[FIX] project: Fix wrong recipient display based on email_fromKamesh Patel
Currently, The customer that is not selected anymore is suggested as a recipient steps to reproduce: 1. create a project task without a customer set 2. select a customer, then remove it, then save 3. send a message in the chatter --> the customer that is not selected anymore is still suggested as a recipient. The issue is due to invalid value of partner's email in the field email_from on task. So in this commit, when the customer is not defined or is not a child task then keep the email_From of the task. (Here we are checking the task.parent_id because when someone update the email_from on parent it should be updated in child task's email_from and when we remove the email_From in parent it should not be removed from child task) closes odoo/odoo#63042 Taskid: 2339894 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-12-03[FIX] sale_timesheet,project: Removed links to the documentsKrina Oza
In this commit the links to Time Billing and Customer Rating's documents in timesheet and project respectively are removed. TaskID:2411098 closes odoo/odoo#62781 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-11-27[FIX] project: show "View Task" to portal customersKevin Baptiste
Since commit 62024ca the portal customer of a task were missing the "View Task" button. closes odoo/odoo#62484 Taskid: 2393286 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-12-02[FIX] project : chatter wrong placeFlorent de Labarre
closes odoo/odoo#62739 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-11-30[FIX] project: reintroduce partner_email in task formLaurent Stukkens (LTU)
Fix field removal introduced in bed22b10322882802cb0435088f9731ebbdf634e closes odoo/odoo#62579 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-11-28[IMP] project, sale_project, sale_timesheet: refactor task form viewLaurent Stukkens (LTU)
This commit bring the following changes: * Remove the email field * Switch the groups (left <-> right) * Move the 'parent task' field below the user_id one * Remove the service field * Remove the 'create sales order' button task-2388500
2020-11-27[FIX] *: rephrase, correct typosMartin Trigaux
Courtesy of Transifex's translators for reporting bad/unclear sentences. closes odoo/odoo#62539 Related: odoo/enterprise#15032 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-25[FIX] project: missing api.model on create overrideVictor Feyens
closes odoo/odoo#62310 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-11-23[FIX] project: don't send rating email when disabled on projectKevin Baptiste
The rating emails were still sent even if the rating feature was disabled on the specific project. This commit ensures the emails are only sent to project with the feature enabled. closes odoo/odoo#62145 Taskid: 2390802 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>