Daily updates from Odoo
Navigate
Branch
Wednesday, January 12, 2022
19 changes
Enhancements to existing features
Rental sales order line descriptions are now computed in a cleaner, more consistent way. This helps keep rental quotations and orders clearer for users while reducing maintenance complexity behind the scenes.
Original PR description
COM PR: https://github.com/odoo/odoo/pull/82620 Enterprise PR: https://github.com/odoo/enterprise/pull/23432
Belgian payroll fleet tax deduction calculations now reflect updated coefficients and new rules for hybrid vehicles. CNG vehicle calculations also consider horsepower, helping businesses apply more accurate tax treatment for company cars.
Original PR description
Adds new rules for hybrid vehicles for tax deductions and updates the coefficients. CNG now also takes in account the horsepower of the vehicle. TaskId-2629318
Demo data has been added for the Planning-related modules, making it easier to showcase and test planning workflows. This helps users and teams better understand scheduling and project forecasting examples in a realistic setup.
Original PR description
Some demo data have been added on the planning module. task-2677949 See odoo/odoo#80439
Resolved issues and error corrections
This update fixes an automated payroll accounting test that was failing because a form field is now already filled in. It helps keep payroll-related quality checks stable without changing employee-facing or business workflows.
Original PR description
Fixes an error in a tour due to a field being pre-filled now. Relates to odoo/odoo#81121
User avatars in the Project task Gantt view now open the related conversation panel instead of simply displaying the image. This makes it easier for teams to access task communication directly from timeline groupings by assignee.
Original PR description
[FIX] project_enterprise: add avatar widget in project task gantt view The purpose of this commit is to make the user image clickable in project task gantt view when grouping by field is 'user_ids'. task-2696911
This fix ensures reference values on imported French accounting entries remain read-only, preventing accidental edits after import. It helps preserve the integrity of FEC import data and supports reliable accounting records.
Original PR description
See community commit: 38c13bbef39e3e82a77cfd4a316be94280e3cee5
Code cleanup and technical improvements
Helpdesk now uses shared contact comparison logic instead of maintaining duplicate rules. This reduces maintenance risk and keeps phone and email handling more consistent across related Odoo apps.
Original PR description
Purpose of this commit is to move the duplicating code from helpdesk in `res.partner`. So, In this commit move `_get_partner_phone_update` `and_get_partner_email_update` as same code is duplicating in crm which is not good practice and rename it to `_is_same_phone` and `_is_same_email` that would check whether the provided email/phone differs from the email/phone field. closes #23118 task-2686413
Miscellaneous changes
This draft pull request does not include changed files or commit details, so there is not enough information to identify a specific business impact. It appears to be work in progress and should be reviewed once concrete changes are added.
Original PR description
draft
In 2022, new intrastat codes are introduced to replace the 'transaction' ones. https://github.com/odoo/enterprise/pull/21007 already handles that, but with it, once the module has been updated, both old and new intrastat codes will be visible to the user, and selectable on new invoices. We don't want that; only new codes should be available. This commit adds a expiry and start dates to account.intrastat.code and updates domains to only show in use codes to users. Migration PR: https://github
Original PR description
In 2022, new intrastat codes are introduced to replace the 'transaction' ones. https://github.com/odoo/enterprise/pull/21007 already handles that, but with it, once the module has been updated, both old and new intrastat codes will be visible to the user, and selectable on new invoices. We don't want that; only new codes should be available. This commit adds a expiry and start dates to account.intrastat.code and updates domains to only show in use codes to users. Migration PR: https://github.com/odoo/upgrade/pull/3125 Task: 2705143 Forward-Port-Of: odoo/enterprise#22751
### Step to reproduce: - Install `contact`, `sales_managment` and `delivery_ups` - Create a new shipping method for UPS with the `bill my account` check box checked - Create a delivery address contact for a specific contact (like Azure Interior) - Create a Sales Order for this contact with the delivery address fill with the delivery address of the contact. - Add shipping with the shipping method with the `bill my account` enabled - Put a different `UPS account number` than the one that was
Original PR description
### Step to reproduce: - Install `contact`, `sales_managment` and `delivery_ups` - Create a new shipping method for UPS with the `bill my account` check box checked - Create a delivery address…
### Step to reproduce: - Install `contact`, `sales_managment` and `delivery_ups` - Create a new shipping method for UPS with the `bill my account` check box checked - Create a delivery address contact for a specific contact (like Azure Interior) - Create a Sales Order for this contact with the delivery address fill with the delivery address of the contact. - Add shipping with the shipping method with the `bill my account` enabled - Put a different `UPS account number` than the one that was put in the shipping method. - Confirm the Sales Order - go to the linked delivery - Validate the delivery ### Current Behavior: The account number for that delivery is not going to be the one that added to the SO ### Behavior after the PR: The option `bill my account` should take care of the `UPS account number` in the SO when the option `bill my account` is enabled opw-2694363 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/enterprise#22932
Bug: The 'due' smart button on the partner creates an error when no follow-up levels are defined on the company. The same thing would happen when selecting a partner from the customers -> follow-up reports tree view. To fix this I've removed ensure_one from _amount_due_in_description, the resulting error should be handled by an exising user error in _build_followup_summary_with_field in account_followup_report task-id: 2728118 task-id: 2728118 Forward-Port-Of: odoo/enterprise#23330
Original PR description
Bug: The 'due' smart button on the partner creates an error when no follow-up levels are defined on the company. The same thing would happen when selecting a partner from the customers -> follow-up reports tree view. To fix this I've removed ensure_one from _amount_due_in_description, the resulting error should be handled by an exising user error in _build_followup_summary_with_field in account_followup_report task-id: 2728118 task-id: 2728118 Forward-Port-Of: odoo/enterprise#23330
Forward-Port-Of: odoo/enterprise#23322
Original PR description
Forward-Port-Of: odoo/enterprise#23322
We have our own html2plaintext, already used in lot of use cases instead of just a few for the html2txt library. Notably for emails: most emails going through Odoo stack use our simple html2plaintext to format the body alternative. We may therefore use the same alternative in ir_mail_server when body alternative is not given. This also helps solving some issues with depending on that library. Task-2702034 Forward-Port-Of: odoo/enterprise#23302 Forward-Port-Of: odoo/enterprise#22603
Original PR description
We have our own html2plaintext, already used in lot of use cases instead of just a few for the html2txt library. Notably for emails: most emails going through Odoo stack use our simple html2plaintext to format the body alternative. We may therefore use the same alternative in ir_mail_server when body alternative is not given. This also helps solving some issues with depending on that library. Task-2702034 Forward-Port-Of: odoo/enterprise#23302 Forward-Port-Of: odoo/enterprise#22603
Fixes various bugs in services Forward-Port-Of: odoo/enterprise#23404 Forward-Port-Of: odoo/enterprise#23179
Original PR description
Fixes various bugs in services Forward-Port-Of: odoo/enterprise#23404 Forward-Port-Of: odoo/enterprise#23179
**Before this commit:** Currently in FSM, when searching on a project/worksheet it generates a traceback regarding 'rows is not iterable' in gantt view. **After this commit:** In gantt view, searching on a project/worksheet will give appropriate rows without giving the traceback. **Task**-2717476 Forward-Port-Of: odoo/enterprise#23160
Original PR description
**Before this commit:** Currently in FSM, when searching on a project/worksheet it generates a traceback regarding 'rows is not iterable' in gantt view. **After this commit:** In gantt view, searching on a project/worksheet will give appropriate rows without giving the traceback. **Task**-2717476 Forward-Port-Of: odoo/enterprise#23160
### Current behavior Horizontal scrollbar appears at the bottom of the timesheets list on a pdf report ### Steps to reproduce - Install Field Service - Go to Settings, Field Service category - Enable Worksheets - (_w/ demo data_) Go to Project > Research & Development > Document management - Print Worksheet Report (PDF) ### Reason Since this commit https://github.com/odoo/enterprise/commit/3f94bf15f54491396d149f77538b760a5da010a8 , reports are responsive through the addition of thi
Original PR description
### Current behavior Horizontal scrollbar appears at the bottom of the timesheets list on a pdf report ### Steps to reproduce - Install Field Service - Go to Settings, Field Service category - Enable Worksheets - (_w/ demo data_) Go to Project > Research & Development > Document management - Print Worksheet Report (PDF) ### Reason Since this commit https://github.com/odoo/enterprise/commit/3f94bf15f54491396d149f77538b760a5da010a8 , reports are responsive through the addition of this class : `table-responsive-sm` but this class shouldn't be present when generating a pdf because it leads to the appearance of the horizontal scrollbar. #### Example [worksheet_before_fix.pdf](https://github.com/odoo/enterprise/files/7727083/worksheet_before_fix.pdf) [worksheet_after_fix.pdf](https://github.com/odoo/enterprise/files/7727082/worksheet_after_fix.pdf) OPW-2710816 Forward-Port-Of: odoo/enterprise#23430 Forward-Port-Of: odoo/enterprise#22946
Change the caret options for the lines for the intrastat report in the report model to 'account.move' so that it can utilise the associated view journal entry button defined in the account report template. This restores the behaviour found on the intrastat report in 13.0 task-id: 2728124 Forward-Port-Of: odoo/enterprise#23362
Original PR description
Change the caret options for the lines for the intrastat report in the report model to 'account.move' so that it can utilise the associated view journal entry button defined in the account report template. This restores the behaviour found on the intrastat report in 13.0 task-id: 2728124 Forward-Port-Of: odoo/enterprise#23362
Prior to this commit: - The elements inside of the warning banner in the planning module were not correctly spaced task-2703516 Forward-Port-Of: odoo/enterprise#23422 Forward-Port-Of: odoo/enterprise#22771
Original PR description
Prior to this commit: - The elements inside of the warning banner in the planning module were not correctly spaced task-2703516 Forward-Port-Of: odoo/enterprise#23422 Forward-Port-Of: odoo/enterprise#22771
Purpose of this commit to publish only slot of resouces(employees) that are in employee_ids of planning send wizard. So, In this commit filter the slot which contains employee_id that are in employee_ids or false. task-2722863 Forward-Port-Of: odoo/enterprise#23178
Original PR description
Purpose of this commit to publish only slot of resouces(employees) that are in employee_ids of planning send wizard. So, In this commit filter the slot which contains employee_id that are in employee_ids or false. task-2722863 Forward-Port-Of: odoo/enterprise#23178