Wednesday, May 18, 2022
13 changes
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
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.
Resolved issues and error corrections
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
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
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