Friday, November 3, 2023
10 changes · master
Enhancements to existing features
Currency displays now automatically use ISO currency codes instead of shared symbols when multiple active currencies use the same symbol. This reduces confusion in documents, imports, sales, purchases, accounting, expenses, inventory, spreadsheets, and website event sales where amounts could otherwise be misread.
Original PR description
*: account, base, base_import, hr_expense, mrp_subcontracting_account, product, purchase, purchase_stock, sale, spreadsheet, stock_account, test_xlsx_export, web, website_event_sale Description of…
*: account, base, base_import, hr_expense, mrp_subcontracting_account, product, purchase, purchase_stock, sale, spreadsheet, stock_account, test_xlsx_export, web, website_event_sale Description of the issue/feature this PR addresses: Prior to this, when multiple currencies with the same symbol where to appear in a same document or be sent from a country to another with the same currency symbol, the only information the recipient had was the currency symbol leading to lack of clarity. Desired behavior after PR is merged: This implementation makes it now automatic that when multiple currencies with the same symbol are active, it is their ISO code instead of their symbol that is used to display them. This way, there is no room for misinterpretation. Whenever a currency is activated, this code checks whether or not another currency with the same symbol is already active. If it is the case, the ISO code replaces the symbol of the newly activated currency. Also, when a currency is deactivated, this code checks whether or not a single currency with the same symbol is still active. If it is the case, it puts the symbol of that currency back to its original state. If not, it means that there are still multiple currencies with that symbol active in which case their symbol should not change. In both cases, the symbol of the currencies which is being deactivated is reversed to its original value, the currency's symbol. The features interacts with three fields. Each of them is on the res.currency model. The field "name" which is used to hold the currency's ISO code. No change has been made to that field. The field "curr_symbol" which is new and takes the field "symbol" previous role which was to hold the currency's symbol. And the field "symbol" which is now a computed field which value will depend on the number of active currencies with the same symbol as the one the computation is happening on. Adding this improvement, the differentiation between currencies with a similar symbol is now way clearer. task-3360250
The appraisal survey options page now applies sensible defaults when appraisal is selected and hides settings that are not relevant to that workflow. This makes setup clearer for users and reduces the chance of choosing options that do not fit appraisal surveys.
Original PR description
Make the following changes when appraisal is selected 1. Provided default values for the following fields -> "access_mode" -> "is_attempts_limited" -> "users_can_go_back" 2. Hide Live Session Section and Button 3. Make the following fields invisible -> "is_time_limited" -> "scoring_type" -> "certification" Task-3390319
The employee list view now avoids showing the work location twice when the homeworking module is installed. This makes the employee overview clearer and reduces confusion for HR users.
Original PR description
The installation of the 'hr_homeworking' module results in the 'name_work_location_display' field being added to the list view with the employee's work location. As a result, both the 'work_location_id' and 'name_work_location_display' fields are shown. In this PR, 'work_location_id' is removed from the list view of an employee. task-3544592
This update brings Odoo’s spreadsheet component to a newer version with smoother selection, autofill, clipboard, and collaboration behavior. It also improves performance and fixes export, formatting, and visual issues, helping users work with spreadsheets more reliably.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/3b1fe3bfc [REL] 17.1.0-alpha.1 https://github.com/odoo/o-spreadsheet/commit/0c9a974fb [FIX] package: Export template…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/3b1fe3bfc [REL] 17.1.0-alpha.1 https://github.com/odoo/o-spreadsheet/commit/0c9a974fb [FIX] package: Export template file when publishing on npm https://github.com/odoo/o-spreadsheet/commit/14c37ffd6 [IMP] Clipboard,F&R: Only update grid selection Task: 3522616 https://github.com/odoo/o-spreadsheet/commit/d0f1d94ef [IMP] Autofill: Deactivate component when not on grid selection Task: 3522616 https://github.com/odoo/o-spreadsheet/commit/13211a5c5 [FIX] SelectionInput: Unable to select range after confirm Task: 3493185 https://github.com/odoo/o-spreadsheet/commit/9766e65a2 [IMP] history: reduce memory allocation https://github.com/odoo/o-spreadsheet/commit/81ad27dee [IMP] range: order only if needed https://github.com/odoo/o-spreadsheet/commit/ad8323e38 [IMP] actions: don't create actions at each rending https://github.com/odoo/o-spreadsheet/commit/883e0c43a [IMP] viewport: find header with binary search https://github.com/odoo/o-spreadsheet/commit/f70e1f52d [IMP] locale: change date format with locale Task: 3575516 https://github.com/odoo/o-spreadsheet/commit/baf8097cf [FIX] XLSX: Exported image dimension Task: / https://github.com/odoo/o-spreadsheet/commit/a6a33b5ba [REL] 17.1-alpha.0 https://github.com/odoo/o-spreadsheet/commit/39a3806c9 [REF] composer, grid: homogenize event handling Task: 3380401 https://github.com/odoo/o-spreadsheet/commit/5080bc451 [REM] viewport: remove unused parameter https://github.com/odoo/o-spreadsheet/commit/07999834b [REM] viewport: remove always falsy condition https://github.com/odoo/o-spreadsheet/commit/f4583b226 [FIX] header_size: decouple added row from base row Task: 3510863 https://github.com/odoo/o-spreadsheet/commit/7be4d753f [FIX] evaluation: avoid .shift() https://github.com/odoo/o-spreadsheet/commit/83aba22d4 [FIX] top_bar: force white background https://github.com/odoo/o-spreadsheet/commit/f7fb70ee7 [IMP] headers: add header position UI plugin Task: 3563624 https://github.com/odoo/o-spreadsheet/commit/c58899b26 [IMP] selection: don't dispatch at `START` Task: 3563624 https://github.com/odoo/o-spreadsheet/commit/a4fe61669 [IMP] headers: add `getHeaderSize` getter Task: 3563624 https://github.com/odoo/o-spreadsheet/commit/2dd53005c [IMP] translations: Do not translate template strings Task: / https://github.com/odoo/o-spreadsheet/commit/18a08b1de [REL] 16.5.0-alpha.13 https://github.com/odoo/o-spreadsheet/commit/bb48a4eda [FIX] border_editor, top_bar: dark-mode adaptations Task: 3201038 https://github.com/odoo/o-spreadsheet/commit/5176308f4 [FIX] evaluation: fix evaluateFormula getter typing https://github.com/odoo/o-spreadsheet/commit/612f02623 [IMP] Functions: add SORT, SORTN and RANK Task: 3472980 https://github.com/odoo/o-spreadsheet/commit/ca56b0809 [FIX] Highlight: prevent default `mousedown` behaviour Task: / https://github.com/odoo/o-spreadsheet/commit/10a42a475 [REF] ClientTag: use t-if instead of opacity Task: / https://github.com/odoo/o-spreadsheet/commit/43692a6e5 [REF] tests: dispatch both input and change events https://github.com/odoo/o-spreadsheet/commit/8dae28aed [REF] chart_test: improve test speed/readability https://github.com/odoo/o-spreadsheet/commit/0f3b35682 [FIX] collaborative: display other users name
This update adds helpful explanatory text for the option that controls report sections in accounting reports. It makes the setting easier to understand, reducing confusion when configuring composite financial reports.
Original PR description
The goal of this pr is to add a tooltip to the use_sections field. task: 3569038 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The spreadsheet component has been updated to a newer version, including a correction to how spreadsheet calculations are refreshed. This should help users see more reliable spreadsheet results and benefit from the latest maintenance improvements.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/059586857 [REL] 17.1.0-alpha.2 https://github.com/odoo/o-spreadsheet/commit/f4254f709 [FIX] evaluation: fix incorrect invalidation
Payroll rule labels using “Gross” are updated to “Taxable Salary” based on French feedback. This makes Belgian payroll terminology clearer and better aligned with expected business language without changing payroll calculations.
Original PR description
From french feedback GROSS rules should be named Taxable Salary and not Gross Before this commit: GROSS code refer to the name Gross After this commit: GROSS code refer to the name Taxable Salary
When more than one active currency uses the same symbol, Odoo now shows the currency ISO code instead of the shared symbol. This reduces confusion in documents, reports, sales, purchases, expenses, inventory, and other workflows where similar currency symbols could be misread.
Payslips now factor an employee's hourly wage into the basic pay amount when that wage is available on the contract. This helps payroll teams produce more accurate payslips for hourly workers and reduces manual adjustments.
Original PR description
This commit improves the functionality of payslips by incorporating the hourly wage into the basic amount on the payslip. This enhancement ensures that if an hourly wage is available in the contract, it is appropriately factored into the basic amount calculation on the payslip. Task-3514674
Financial reports now include a direct button near the filters that opens the report configuration page. This makes it faster for users to adjust report setup, while the configuration screen is also cleaned up by improving placeholder text and hiding an irrelevant option when report lines already exist.
Original PR description
The goal of this PR is to add a button on the reports next to the filters that will redirect to the configuration page of the report. On this page we have changed a placeholder and hide the use_section field in case the report has lines. task: 3569038
Original PR description
*: account, base, base_import, hr_expense, mrp_subcontracting_account, product, purchase, purchase_stock, sale, spreadsheet, stock_account, test_xlsx_export, web, website_event_sale Description of…
*: account, base, base_import, hr_expense, mrp_subcontracting_account, product, purchase, purchase_stock, sale, spreadsheet, stock_account, test_xlsx_export, web, website_event_sale Description of the issue/feature this PR addresses: Prior to this, when multiple currencies with the same symbol where to appear in a same document or be sent from a country to another with the same currency symbol, the only information the recipient had was the currency symbol leading to lack of clarity. Desired behavior after PR is merged: This implementation makes it now automatic that when multiple currencies with the same symbol are active, it is their ISO code instead of their symbol that is used to display them. This way, there is no room for misinterpretation. Whenever a currency is activated, this code checks whether or not another currency with the same symbol is already active. If it is the case, the ISO code replaces the symbol of the newly activated currency. Also, when a currency is deactivated, this code checks whether or not a single currency with the same symbol is still active. If it is the case, it puts the symbol of that currency back to its original state. If not, it means that there are still multiple currencies with that symbol active in which case their symbol should not change. In both cases, the symbol of the currencies which is being deactivated is reversed to its original value, the currency's symbol. The features interacts with three fields. Each of them is on the res.currency model. The field "name" which is used to hold the currency's ISO code. No change has been made to that field. The field "curr_symbol" which is new and takes the field "symbol" previous role which was to hold the currency's symbol. And the field "symbol" which is now a computed field which value will depend on the number of active currencies with the same symbol as the one the computation is happening on. Adding this improvement, the differentiation between currencies with a similar symbol is now way clearer. task-3360250