Monday, March 14, 2022
24 changes · master
New functionality added to Odoo
Managers can now review how employee skills change over time during appraisals, including whether skills improved, declined, or stayed the same. The report also shows the justification for each change, helping managers make more informed development and performance decisions.
Original PR description
Purpose: Appraisal skills report will help managers to see the evolution of the skills. Which employee's skills improved, decreased, or stayed the same, next to the justification of the change. task - 2687370
Enhancements to existing features
Gantt bars now show progress by darkening the item instead of using hatch patterns, making it compatible with Planning where hatching already indicates draft shifts. Planning and forecasting views are also cleaned up, with demo data added to better showcase progress tracking.
Original PR description
In planning, we hatch pills to indicate that a shift is in draft, and we darken the pill to indicate the progress. The native gantt progress bar hatches the pill to indicate its progress. It is thus incompatible with the current implementation we have in planning. Nathan (ngr) has agreed to make the darkening of the pill (instead of hatching it) the generic behavior of the native gantt pill progress. This PR therefore changes the generic behavior of the native gantt pill progress, and makes use of it in planning. It also adds some demo data to planning to showcase the feature. Task 2664116
Resolved issues and error corrections
This update fixes unstable automated tests in the Documents Spreadsheet Bundle area. It helps ensure test results are consistent, reducing false failures and improving confidence in future releases.
Original PR description
Runbot id 3415
Miscellaneous changes
1) Insert a list in spreadsheet 2) Add a formula with a field name which is not in the columns => Cell is in error, the value is not fetched. This commit fixes this behavior by fetching the requested value. Forward-Port-Of: odoo/enterprise#25264
Original PR description
1) Insert a list in spreadsheet 2) Add a formula with a field name which is not in the columns => Cell is in error, the value is not fetched. This commit fixes this behavior by fetching the requested value. Forward-Port-Of: odoo/enterprise#25264
Users can now apply custom currency formats in Odoo spreadsheets, with standard options populated from existing currency settings. This makes financial spreadsheets clearer and more consistent with company or regional currency preferences.
Original PR description
Adds the possibility for user to use custom currency formats. The predefined formats are fetched from Odoo `res.currency` data. Odoo task ID : 2572293
The embedded spreadsheet component in Documents has been updated to a newer version. This brings faster spreadsheet calculations, more consistent wording in translations, and a clipboard fix when editing rows, improving everyday reliability for users.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/75a7cac2 [REF] translations: unify terms and naming + some fixes https://github.com/odoo/o-spreadsheet/commit/5e1a8f8a [REF] evaluation: 60% faster evaluation https://github.com/odoo/o-spreadsheet/commit/9d034c4b [FIX] clipboard:Adding row inside cut area clear clipboard
Users now receive a planned activity when an online bank synchronization is nearing expiration, helping them renew it before service is interrupted. Accounting dashboards also show a clearer alert on affected journals so teams can act quickly and avoid missing bank transaction updates.
Original PR description
Adding next activity for the user Adding new alert on dashboard journal **Task ID:** [#2686081](https://www.odoo.com/web#id=2686081&cids=1&menu_id=4720&action=333&active_id=2358&model=project.task&view_type=form)
This update brings the embedded spreadsheet tool up to date, making calculations faster and improving currency and number formatting options. It also fixes a clipboard issue and improves wording consistency, helping users work more smoothly with spreadsheets in Documents.
Original PR description
- [IMP] documents_spreadsheet_bundle: update o_spreadsheet to latest version - [IMP] documents_spreadsheet_bundle: update o_spreadsheet to latest version
Belgian HR teams can now mark job positions that should include intellectual property or R&D withholding tax exemptions, and see related information directly on the job form. The payroll dashboard now warns when employee contracts are missing these settings even though their job position requires them, helping payroll teams catch compliance or compensation setup issues sooner.
Original PR description
...to hr_job form and add warnings to payroll dashboard Add a Payroll tab to the hr_job form to display if the contract linked to the job position has the following: - Intellectual Property - Withholding tax exemption for R&D On the payroll dashboard, add 2 warnings: - Employees without Intellectual Property: show the contracts where the Intellectual Property is not checked but the job has Intellectual Property - Employees without Withholding Taxes Exemption: show the contracts where the Withholding Taxes Exemption is not set but the job has Withholding Taxes Exemption task-2693292
Appraisal forms now make it easier to select skills and allow users to create new skills directly while completing an appraisal. This streamlines the appraisal process and reduces the need to leave the form for skill setup.
Original PR description
after this commit: - you are able to create new skills from an appraisal form - you select skills more easily taskID #2766619 [Appraisals] Skills usability
The spreadsheet component in Documents has been updated to a newer version, bringing faster calculations and more consistent wording. It also fixes a clipboard issue when inserting rows inside a cut area, improving reliability for users working with spreadsheets.
Original PR description
- [IMP] documents_spreadsheet_bundle: update o_spreadsheet to latest version - [IMP] documents_spreadsheet_bundle: update o_spreadsheet to latest version - [IMP] documents_spreadsheet_bundle: update o_spreadsheet to latest version
Document spreadsheets have been updated with a newer spreadsheet engine version. Users should see faster spreadsheet calculations and more reliable clipboard behavior when editing rows in cut areas.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/5e1a8f8a [REF] evaluation: 60% faster evaluation https://github.com/odoo/o-spreadsheet/commit/9d034c4b [FIX] clipboard:Adding row inside cut area clear clipboard
The embedded spreadsheet component in Documents has been updated to a newer version. This brings faster spreadsheet calculations, clearer wording in translations, and a fix for a clipboard issue when inserting rows in a cut area.
Original PR description
- [IMP] documents_spreadsheet_bundle: update o_spreadsheet to latest version - [IMP] documents_spreadsheet_bundle: update o_spreadsheet to latest version
The contract employee report now calculates employee exits more accurately, avoiding misleading counts for open-ended contracts. Users are also directed to the underlying contract records, making it easier to review details, with improved company-based access control.
Original PR description
The count_employee_exit was badly calculated and would consider contract with no ending to end on the current date which made the report unreliable. Previously the contract employee report views would link towards the report model itself. It will now link to the related hr.contract records instead. TaskId-2764844
The app switcher icon has been visually refined so its borders look smoother and its angles render more consistently. This small fix improves the polish of the navigation experience without changing how users interact with the system.
Original PR description
Smooth borders and adjust transform-properties to avoid sharp and irregular angles. task-2791234
This update refreshes the spreadsheet component used in Documents to include the latest fixes. It corrects a clipboard issue so that inserting a row within a cut selection properly clears the pending cut action, reducing the risk of unexpected spreadsheet edits.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/9d034c4b [FIX] clipboard:Adding row inside cut area clear clipboard
Add a test for the fix created in this PR : https://github.com/odoo/enterprise/pull/23905 opw-2741484 Forward-Port-Of: odoo/enterprise#25043 Forward-Port-Of: odoo/enterprise#24615
Original PR description
Add a test for the fix created in this PR : https://github.com/odoo/enterprise/pull/23905 opw-2741484 Forward-Port-Of: odoo/enterprise#25043 Forward-Port-Of: odoo/enterprise#24615
Before the PR: if the partner does not have an activity description it raises a UserError, ignoring if there is a commercial_partner linked to the partner with those values. After the PR: Even if the partner has no activity or emails it creates the XML using commercial_partner values. Also, the email is sent to the partner_id DTE email or commercial_partner DTE email This PR replaces #24119. The commit [35f3231](https://github.com/odoo/enterprise/pull/24368/commits/35f3231b79db800
Original PR description
Before the PR: if the partner does not have an activity description it raises a UserError, ignoring if there is a commercial_partner linked to the partner with those values. After the PR: Even if the partner has no activity or emails it creates the XML using commercial_partner values. Also, the email is sent to the partner_id DTE email or commercial_partner DTE email This PR replaces #24119. The commit [35f3231](https://github.com/odoo/enterprise/pull/24368/commits/35f3231b79db80084c1bbdcb5d67c268c4dd2a90) only fixes the merge present in the original PR, which was forward ported from #23143 Forward-Port-Of: odoo/enterprise#24368
Forward-Port-Of: odoo/enterprise#25078
Original PR description
Forward-Port-Of: odoo/enterprise#25078
As the module `account_predictive_bills` can modify the taxes on the line while the OCR is editing the total of the line, it could lead to inconsistencies between what was detected and what was encoded. The better way to do this is to let it do its prediction before modifying the total of the line. Forward-Port-Of: odoo/enterprise#25087 Forward-Port-Of: odoo/enterprise#25048
Original PR description
As the module `account_predictive_bills` can modify the taxes on the line while the OCR is editing the total of the line, it could lead to inconsistencies between what was detected and what was encoded. The better way to do this is to let it do its prediction before modifying the total of the line. Forward-Port-Of: odoo/enterprise#25087 Forward-Port-Of: odoo/enterprise#25048
Step to reproduce: - When in an single company env - activate Traceability Lots & Serial Number - create a helpdesk ticket with a product traced by serial number - Create a serial number on the spot Current behaviour: - Traceback - Company is not shown and set to false Behaviour after PR: - Default company is set in context - No Traceback opw-2779824 Forward-Port-Of: odoo/enterprise#25092
Original PR description
Step to reproduce: - When in an single company env - activate Traceability Lots & Serial Number - create a helpdesk ticket with a product traced by serial number - Create a serial number on the spot Current behaviour: - Traceback - Company is not shown and set to false Behaviour after PR: - Default company is set in context - No Traceback opw-2779824 Forward-Port-Of: odoo/enterprise#25092
Due to this typo, the t-if was not 'evaluated' and visible for all. The output html was: ` <div class='...' if='env.user.has_group('appointment.group_calendar_manager')'> ` no task Forward-Port-Of: odoo/enterprise#23963
Original PR description
Due to this typo, the t-if was not 'evaluated' and visible for all. The output html was: ` <div class='...' if='env.user.has_group('appointment.group_calendar_manager')'> ` no task Forward-Port-Of: odoo/enterprise#23963
Steps : Create and confirm a Subscription : > Date of Next Invoice : in 2 months Create an Alert : > Action : Mark as To Renew > Trigger On : Timed Condition > Trigger Date : Date of Next Invoice > Delay After Trigger : -1 Month Setting this delay means that the cron action will be processed one month before the set date. Click on Trigger Now and come back to your Subscription. Issue : It is marked as To Renew. Cause : The method 'run_cron_manually', called when clicking o
Original PR description
Steps : Create and confirm a Subscription : > Date of Next Invoice : in 2 months Create an Alert : > Action : Mark as To Renew > Trigger On : Timed Condition > Trigger Date : Date of Next Invoice > Delay After Trigger : -1 Month Setting this delay means that the cron action will be processed one month before the set date. Click on Trigger Now and come back to your Subscription. Issue : It is marked as To Renew. Cause : The method 'run_cron_manually', called when clicking on Trigger Now, calls 'run' in base_automation, which doesn't take these action fields into account. Fix : Call 'check', which will result in calling 'run' after checking it. opw-2755474 Forward-Port-Of: odoo/enterprise#25111
**Steps to follow** - Open studio in a form view - Add a binary field - Save the changes -> The filename is now displayed **Cause of the issue** The following xml is generated ```xml <group> <field filename="x_studio_file_1_filename" name="x_studio_file_1" string="File 1"> <field invisible="1" name="x_studio_file_1_filename"/> </field> </group> ``` It should be ```xml <group> <field filename="x_studio_file_1_filename" name="x
Original PR description
**Steps to follow**
- Open studio in a form view
- Add a binary field
- Save the changes
-> The filename is now displayed
**Cause of the issue**
The following xml is generated
```xml
<group>
<field filename="x_studio_file_1_filename" name="x_studio_file_1" string="File 1">
<field invisible="1" name="x_studio_file_1_filename"/>
</field>
</group>
```
It should be
```xml
<group>
<field filename="x_studio_file_1_filename" name="x_studio_file_1" string="File 1"/>
<field invisible="1" name="x_studio_file_1_filename"/>
</group>
```
opw-2767051
Forward-Port-Of: odoo/enterprise#25210
Forward-Port-Of: odoo/enterprise#25104