Search
Navigate
Branch
Wednesday, May 18, 2022
19 changes
New functionality added to Odoo
Adds a new recycling tool that helps businesses automatically or manually find and remove outdated records, such as old rejected applications, inactive sessions, or cancelled tasks. It also groups record recycling with existing data cleaning and merging tools, making private data management easier and more consistent.
Enhancements to existing features
The calendar interface now uses a dropdown to switch between day, week, month, and year views instead of separate buttons. Mobile tests were updated to match this new interaction, helping ensure the calendar continues to work reliably on mobile devices.
Original PR description
This task implements a new way of changing calendar views between day, week, month and year. Before, 4 buttons were used. Now, we use a dropdown button. For this reason, the mobile tests had to be adapted to first click the dropdown before switching views. task-2704432
Resolved issues and error corrections
Leave validation now updates only the planning shifts that are actually affected by the approved time off. This reduces unnecessary recalculations and makes Time Off approvals faster, especially in databases with many installed apps.
Original PR description
Before this commit, when a leave is validated, the allocated hours and the working days fields for the shifts in which the planned dates have the leave in the interval have to be recomputed. However,…
Before this commit, when a leave is validated, the allocated hours and the working days fields for the shifts in which the planned dates have the leave in the interval have to be recomputed. However, the domain processed includes too much shifts and so the recompute will take more time than expected. This commit fixes the issue by ensuring the domain processed includes only the shifts impacting by the leaves added or updated. This commit also improves the performances to slow the less as possible the validation of leaves in Time Off app. Performance improvements: ======================== The time measured, to show if the fix improves the performance, is made when the user valids a leave in the Time Off app. Also, this measure is done in a db with just the demo data installed. In a db with all apps: - without the fix: it took 1440 ms - with the fix: it takes 476 ms In a db with just `planning_holidays` module installed: - without the fix: it took 310 ms - with the fix: it takes 80 ms Related PR: #24619 Co-authored-by: Kevin Baptiste <kba@odoo.com>
Miscellaneous changes
In Swiss specifications guidelines, it is required to have separate <PmtInf> elements for each currency being transfered. Otherwise, it will raise the error message "AM03 NotAllowedCurrency: Specified message amount is an non processable currency outside of existing agreement." We should group SCT payments per date as well as per currency to comply to these requirements. It should also have no effect for regular SEPA files. opw-2844821 Forward-Port-Of: odoo/enterprise#27238
Original PR description
In Swiss specifications guidelines, it is required to have separate <PmtInf> elements for each currency being transfered. Otherwise, it will raise the error message "AM03 NotAllowedCurrency: Specified message amount is an non processable currency outside of existing agreement." We should group SCT payments per date as well as per currency to comply to these requirements. It should also have no effect for regular SEPA files. opw-2844821 Forward-Port-Of: odoo/enterprise#27238
Helpdesk teams gain safer stage management with a confirmation step before deletion, plus easier bulk communication through email and SMS on multiple tickets. New customer care teams are also created per company, helping organizations standardize support setup across businesses.
Original PR description
The purpose of the commit is to do a generic feature and usability improvement for the helpdesk. So in this commit added below features: - validation dialog for stage deletion - Send email/SMS in batch on tickets - generate a 'customer care' helpdesk team per company task-2737428
The VoIP dialing panel title now supports more plural forms, making translations read more naturally in additional languages. This improves clarity for users working in localized versions of Odoo.
Original PR description
This commit provides translations in more plural forms for the dialing panel title.
The Dutch Intrastat declaration now supports the new transaction codes and file layout required from January 2021. This helps Dutch companies submit compliant trade declarations while preserving older codes for historic invoices and earlier reporting periods.
Original PR description
Some changes to are required to accommodate the new format of the dutch intrastat declaration. The changes are discussed [here](https://www.cbs.nl/en-gb/participants-survey/overzicht/businesses/onderzoek/international-trade-in-goods). New codes are required, and a new specification for the declaration file requires that these new codes appear in a different position in the file (while the old ones are no longer used). As such, changes have been made to prevent the old codes from being used from January 2021 onward, and prevent the new codes from being used before January 2021. task: 2635472
The Documents Project action to create a task is now hidden once a document is already linked to a task, reducing duplicate task creation and user confusion. The fix also prevents access errors by assigning the current user to newly created private tasks.
Original PR description
before this commit, if document is already linked to task 'Create a task' action also appeared. after this commit, 'Create a task ' action hide after creating task on document. Task-2818646
Adding a document through the “add a link” action now correctly keeps it connected to the related task or record, so users can see the right context and name. Demo data was also adjusted so timesheet defaults behave as expected during testing and demonstrations.
Original PR description
…link button Currently task value was not displayed in documents while adding documents through add a link button. so in this commit task value is displayed on generating documents through add a link button. task-2790019
Spreadsheet views now correctly preserve the sorting users applied to embedded document lists when data is loaded from the server. This prevents confusing changes in row order and helps users rely on spreadsheet reports showing information in the expected sequence.
Original PR description
Since f55a54eb, the row sorting from a list is no longer applied when fetching the data from the server. The issue lies in a faulty conversion of payload from the old rpc to the orm.searchRead API. Task 2832461
Side effect of recent commit [1]. The parameter journal_currency can be None in the function definition, we should adapt slightly the commit to make it work. [1]:https://github.com/odoo/enterprise/commit/df63265fe2b310ca20b92097383228e78ee1da58 2843598 Forward-Port-Of: odoo/enterprise#27074
Original PR description
Side effect of recent commit [1]. The parameter journal_currency can be None in the function definition, we should adapt slightly the commit to make it work. [1]:https://github.com/odoo/enterprise/commit/df63265fe2b310ca20b92097383228e78ee1da58 2843598 Forward-Port-Of: odoo/enterprise#27074
In 15.1 onwards, financial reports can have a nested structure, so the reports are adapted. Forward-Port-Of: odoo/enterprise#27446
Original PR description
In 15.1 onwards, financial reports can have a nested structure, so the reports are adapted. Forward-Port-Of: odoo/enterprise#27446
Users were getting traceback when performing some actions, here we display a more meaningful error message. TaskID: 2850705 Forward-Port-Of: odoo/enterprise#27465 Forward-Port-Of: odoo/enterprise#27255
Original PR description
Users were getting traceback when performing some actions, here we display a more meaningful error message. TaskID: 2850705 Forward-Port-Of: odoo/enterprise#27465 Forward-Port-Of: odoo/enterprise#27255
fix debit note generation (to still test in_invoice/in_refund cases) Bug: task id 758 in Latam project. Forward-Port-Of: odoo/enterprise#27211 Forward-Port-Of: odoo/enterprise#25637
Original PR description
fix debit note generation (to still test in_invoice/in_refund cases) Bug: task id 758 in Latam project. Forward-Port-Of: odoo/enterprise#27211 Forward-Port-Of: odoo/enterprise#25637
Since Owl was updated to version 2, scanning a product didn't scroll automatically to show the scanned product. The scroll was working only after a second scan. This came from some changes of how the render method works in Owl. This was fixed by using the onPatched method instead. Task-ID: 2853459 Forward-Port-Of: odoo/enterprise#27439
Original PR description
Since Owl was updated to version 2, scanning a product didn't scroll automatically to show the scanned product. The scroll was working only after a second scan. This came from some changes of how the render method works in Owl. This was fixed by using the onPatched method instead. Task-ID: 2853459 Forward-Port-Of: odoo/enterprise#27439
Before this commit, the discount was only computed for existing sale order line. This commit override the compute method and check the default start_date and next_invoice-date of existing lines to allow easily align these date when new lines are created in the upsell order. Various small fixes are also introduced. Forward-Port-Of: odoo/enterprise#26152
Original PR description
Before this commit, the discount was only computed for existing sale order line. This commit override the compute method and check the default start_date and next_invoice-date of existing lines to allow easily align these date when new lines are created in the upsell order. Various small fixes are also introduced. Forward-Port-Of: odoo/enterprise#26152
When generating a task in a project from a sale line order, the task and project are created and the `task_id` and `project_id` are set on the sol. If one changes the `project_id` of the task, the constraint check made in `_check_task_in_project` in `planning.slot` will fail. Prior to this fix: - When the task project_id is changed, `planning.slot` `_compute_project_id` is triggerd thanks to its depends on `sale_line_id.task_id.project_id` but the value taken will be `sale_line_id.pro
Original PR description
When generating a task in a project from a sale line order, the task and project are created and the `task_id` and `project_id` are set on the sol. If one changes the `project_id` of the task, the constraint check made in `_check_task_in_project` in `planning.slot` will fail. Prior to this fix: - When the task project_id is changed, `planning.slot` `_compute_project_id` is triggerd thanks to its depends on `sale_line_id.task_id.project_id` but the value taken will be `sale_line_id.project_id` which does not reflect the changes of the project_id on the task. After this fix: - `_compute_project_id` will preferably take `slot.sale_line_id.task_id.project_id` over `slot.sale_line_id.project_id` which will prevent `_check_task_in_project` to fail. task-2854845 Forward-Port-Of: odoo/enterprise#27401
Before this commit, when we have a single rating and open the rating view through the helpdesk team stat button then it will open the new form view(create form view) due to the false res_id in action. So this commit fixes the issue by passing the proper res_id while opening the form view of rating. task-2772369 Forward-Port-Of: odoo/enterprise#25679
Original PR description
Before this commit, when we have a single rating and open the rating view through the helpdesk team stat button then it will open the new form view(create form view) due to the false res_id in action. So this commit fixes the issue by passing the proper res_id while opening the form view of rating. task-2772369 Forward-Port-Of: odoo/enterprise#25679
Steps : Create a FSM task. Add then remove a product. Issue : Error : picking_ids is not a field of sale.order. Cause : This field is added to the model with sale_stock, which is not installed. Therefore, it should be called in industry_fsm_stock i/o industry_fsm_sale. opw-2834721 Forward-Port-Of: odoo/enterprise#27283 Forward-Port-Of: odoo/enterprise#26678
Original PR description
Steps : Create a FSM task. Add then remove a product. Issue : Error : picking_ids is not a field of sale.order. Cause : This field is added to the model with sale_stock, which is not installed. Therefore, it should be called in industry_fsm_stock i/o industry_fsm_sale. opw-2834721 Forward-Port-Of: odoo/enterprise#27283 Forward-Port-Of: odoo/enterprise#26678