Friday, September 18, 2020
22 changes · master
Enhancements to existing features
This update adds a direct shortcut from an employee record to their work entries, making payroll-related information easier to find. It also improves work entry search, shows work entry types on work schedules, clarifies that validated entries cannot be edited, and warns users when changing an employee's company.
Original PR description
TaskID: 2337204 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
HR teams can now handle time off entered after a payslip is finalized by deferring the adjustment to a future payroll period instead of recalculating past payslips. The update also adds reminders and supporting payroll improvements to help manage follow-up actions, deductions, reimbursements, and negative pay balances more reliably.
Original PR description
Purpose ======= Another feedback for the payroll application. It happens that when the payslip is computed, all the employees have not registered all their leaves. In this case, HR needs to make a…
Purpose ======= Another feedback for the payroll application. It happens that when the payslip is computed, all the employees have not registered all their leaves. In this case, HR needs to make a modification that will appear on the next payslip. For the moment, when a leave day is registered afterward in the leave app, Odoo only enables to regenerate all the payslips with the right information. But the way the payroll works is that you do not generate a new payslip for the employee but you only take the modification into account for the payroll computation of the next month. We should have an option to register all the modifications made on the work entries after the generation of the payslip and be able to add them to the computation of the payslip of the next month. Specification ============= When validation a time off, if there is already a regular payslip (no end of the year bonus,...) which is done for that period, then set the leave as to_defer, and prevent users to compute a new regular pay Afterward, instead of generating the work entries for the time off (and thus canceling the attendance at the same time), create a next activity for the responsible, who would have to recreate a work entry at the moment he finds the best. Then when marking the next activity as done, this will release the leave, and we will stop preventing users to compute another regular pay. TaskID: 2253113
Resolved issues and error corrections
The mailing view now correctly shows the digits for invoiced amounts, so users can read the full amount without missing information. This prevents confusion when reviewing sales-related mailing results and improves accuracy for business reporting.
Original PR description
Bug === The digits of the invoiced amount on the mailing are not visible. Task-2265628
Features or functions removed from Odoo
This change removes outdated forecast-related data fields from sales order lines and stock movements. It helps simplify the system by eliminating legacy fields that are no longer used, with minimal expected impact for business users.
Original PR description
- Remove fields `json_forecast` of `stock.move` - Remove fields `json_forecast` of `sale.order.line` odoo/upgrade#1783
Miscellaneous changes
More precisely the template which asks for the permission to generate a key. The message was changed, and the possibility of adding a description for the key was removed. The link to manage databases was removed. Forward-Port-Of: odoo/odoo#57743
Original PR description
More precisely the template which asks for the permission to generate a key. The message was changed, and the possibility of adding a description for the key was removed. The link to manage databases was removed. Forward-Port-Of: odoo/odoo#57743
Fixed an issue where related list entries added in settings screens could disappear after saving. This helps users trust that configuration changes are retained correctly and reduces repeat data entry.
Original PR description
https://www.odoo.com/web#id=2274168&action=4043&model=project.task&view_type=form&cids=1&menu_id=4720 Before this, a one2many relation in a settings view would not work. After the save, the added data in the field would be cleared. Now, the data is still present. With the change made to BaseSettingsModel the 'base_settings_tests' need to only use the res.config.settings as fake data model. (relations towards other models are still ok though). The test file is therefore altered to comply to this new rule. Note that this commit only validates the good behavior on the frontend side, as a one2many relation towards a res.settings can't be done simply in python as it is a transient model (forbidden).
The Argentina electronic invoicing module now handles missing OpenSSL software more gracefully. Instead of showing a technical traceback, users receive a cleaner error when the required library is not installed, making setup issues easier to understand and resolve.
Original PR description
task 352 --- Use try/except to manage the import error in OpenSSL library is not installed.
The field service report signing window now opens in a better position on the portal page. This prevents it from being partly hidden behind the top bar, making it easier for customers to review and sign reports.
Original PR description
Before this commit,the part of the modal is hidden behind the systray and the modal is not centered. So in this commit, Display the margin top to display the modal dialog below the systray bar. TaskID:: 2320303
This fix corrects how Sign template cards appear in the kanban view when French is selected. It improves usability for French-speaking users by ensuring the Sign interface displays as expected.
Original PR description
Current behavior before PR: while selecting the french language then kanban card would not displaying right in sign module. Desired behavior after PR is merged: This commit fixes in sign kanban card view. LINKS PR #13232 Task-2335292
This prevents some code (in controllers) to retrieve an attachment for a field that is not stored, as the code only relies on `field.attachment`. This also makes the field definition more consistent. Forward-Port-Of: odoo/odoo#57969 Forward-Port-Of: odoo/odoo#57891
Original PR description
This prevents some code (in controllers) to retrieve an attachment for a field that is not stored, as the code only relies on `field.attachment`. This also makes the field definition more consistent. Forward-Port-Of: odoo/odoo#57969 Forward-Port-Of: odoo/odoo#57891
In reserved field of stock move, instead of showing expected date of the first coming move but without enough quantity, show "Not Availaible". Forward-Port-Of: odoo/odoo#57992
Original PR description
In reserved field of stock move, instead of showing expected date of the first coming move but without enough quantity, show "Not Availaible". Forward-Port-Of: odoo/odoo#57992
Before this commit, the z-index of the thread window was too low compared to the z-index of the topbar, which prevented users to close the window on mobile. task-2312878 Forward-Port-Of: odoo/odoo#57995
Original PR description
Before this commit, the z-index of the thread window was too low compared to the z-index of the topbar, which prevented users to close the window on mobile. task-2312878 Forward-Port-Of: odoo/odoo#57995
ACLS file was missing in the manifest. This commit adds the file to the module's manifest and rename the acls according the groups they are referring to. Task ID: 2339073 Forward-Port-Of: odoo/odoo#57685 Forward-Port-Of: odoo/odoo#57662
Original PR description
ACLS file was missing in the manifest. This commit adds the file to the module's manifest and rename the acls according the groups they are referring to. Task ID: 2339073 Forward-Port-Of: odoo/odoo#57685 Forward-Port-Of: odoo/odoo#57662
Handle notification creation in convertData correctly. task-2324260 Forward-Port-Of: odoo/odoo#57970 Forward-Port-Of: odoo/odoo#57116
Original PR description
Handle notification creation in convertData correctly. task-2324260 Forward-Port-Of: odoo/odoo#57970 Forward-Port-Of: odoo/odoo#57116
The field `project_id` is not defined in the inherited view (from `sale` module) but by another inherited view from the `sale_project` module. This cause issues during upgrade where the inherited views can be applied in a different order. Moreover, this overwrite of the context is now wrong and unneeded as the base view already defines a more complete one. See commit odoo/odoo@ed2e18f3c95de49083adf63a83b85253828b6d64. Forward-Port-Of: odoo/odoo#58004
Original PR description
The field `project_id` is not defined in the inherited view (from `sale` module) but by another inherited view from the `sale_project` module. This cause issues during upgrade where the inherited views can be applied in a different order. Moreover, this overwrite of the context is now wrong and unneeded as the base view already defines a more complete one. See commit odoo/odoo@ed2e18f3c95de49083adf63a83b85253828b6d64. Forward-Port-Of: odoo/odoo#58004
The reference with 27 chars and the optical line are not meant to be human readable. This document the structure of the ISR Reference. [1] [1] https://www.raiffeisen.ch/rch/fr/clients-entreprises/trafic-paiements-et-liquidites/debiteurs/bulletin-de-versement-orange.html ### Description of the issue/feature this PR addresses: Extract only the documentation part of #51637 ### Current behavior before PR: Unclear comments ### Desired behavior after PR is merged: No change, jus
Original PR description
The reference with 27 chars and the optical line are not meant to be human readable. This document the structure of the ISR Reference. [1] [1] https://www.raiffeisen.ch/rch/fr/clients-entreprises/trafic-paiements-et-liquidites/debiteurs/bulletin-de-versement-orange.html ### Description of the issue/feature this PR addresses: Extract only the documentation part of #51637 ### Current behavior before PR: Unclear comments ### Desired behavior after PR is merged: No change, just more readable code. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#57705
Tax closing requires the use of tax_line_id field on the lines it needs to take into account. This new config ensures such a line is created for 100% taxes. An empty, 0-balanced line is also created for the base line, but this is acceptable. [IMP] l10n_ch: add new 100% tax for investments and other expenses OPW 2333144 Forward-Port-Of: odoo/odoo#57857
Original PR description
Tax closing requires the use of tax_line_id field on the lines it needs to take into account. This new config ensures such a line is created for 100% taxes. An empty, 0-balanced line is also created for the base line, but this is acceptable. [IMP] l10n_ch: add new 100% tax for investments and other expenses OPW 2333144 Forward-Port-Of: odoo/odoo#57857
Disabled livechat in blog query count if website_livechat is installed before website_blog, the get_livechat_channel_info add unrelated query for the current test. So we disabled it. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#58034
Original PR description
Disabled livechat in blog query count if website_livechat is installed before website_blog, the get_livechat_channel_info add unrelated query for the current test. So we disabled it. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#58034
* Prior to this commit, as Chrome recently changed their SameSite cookie policy default value from None to Lax, the session is no more shared between the webpage and the iframe. As a result, the csrf check systematically fails. * After this commit, the csrf check is only made when a session is active. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#58033 Forward-Port-Of: odoo/odoo#57479
Original PR description
* Prior to this commit, as Chrome recently changed their SameSite cookie policy default value from None to Lax, the session is no more shared between the webpage and the iframe. As a result, the csrf check systematically fails. * After this commit, the csrf check is only made when a session is active. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#58033 Forward-Port-Of: odoo/odoo#57479
Make the method work when the value to test is `False`. Forward-Port-Of: odoo/odoo#58038
Original PR description
Make the method work when the value to test is `False`. Forward-Port-Of: odoo/odoo#58038
wip Forward-Port-Of: odoo/enterprise#13148
Original PR description
wip Forward-Port-Of: odoo/enterprise#13148
Forward-Port-Of: odoo/enterprise#13223
Original PR description
Forward-Port-Of: odoo/enterprise#13223