Tuesday, March 14, 2023
13 changes · master
Enhancements to existing features
Manufacturing orders and work orders now use the same date fields for planned and actual timing once work starts or finishes. This reduces duplicate date information and helps teams see production timing more clearly across manufacturing, inventory, and subcontracting flows.
Original PR description
Since starting a workorder and marking it as done replace scheduled dates with effective ones... task: 3108291 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
Expense reports now prevent users from adding expense lines with incompatible payment modes, avoiding save-time errors later in the workflow. The expense module dependency setup was also corrected so it installs reliably after a related dependency change.
Original PR description
You cannot validate and expense report having expense_line_ids of different payment mode. But so far, it was possible to select these lines, and it would be blocked upon saving. We will improve this behavior by adding a domain on the expense_line_ids field and disallowing to add lines that would lead to an error later in the process. task id # 3221780 Also fix an issue with the dependencies of hr_expense since the removal of the one with hr_contract --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Stacked bar charts can now display an overlaid line showing the combined total across groups. This helps business users quickly understand net totals, such as invoices minus credit notes, especially when positive and negative values are mixed.
Original PR description
When stacking a bar chart, you often want to see the resulting sum of the different groups (esp. if there are negative values). For example, when displaying a stacked chart of invoices vs credit notes, you usually also want to know the net total. This is done only on stacked bar charts that have single column per x-axis label and with more than one level of groupby. TASK-ID: 3193260 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
SQL queries shown in logs and tests are now formatted across multiple lines, making them easier to read and troubleshoot. This is an optional developer-facing improvement that helps speed up debugging without changing normal business workflows.
Original PR description
sqlparse is a python library that can be used to pretty-format SQL
queries. We use it to pretty-print queries for `--log-sql` and in
tests for `AssertQueries`. The library is optional and will emit a
warning upon being used but not installed (as a way to advertize its
existence to our fellow developers).
It can be installed via apt `python3-sqlparse` or via pip `sqlparse`.
As an example, the following query logged on a single line:
SELECT "ir_module_module"."id" FROM "ir_module_module" WHERE ("ir_module_module"."state" = 'installed') ORDER BY "ir_module_module"."name"
becomes:
SELECT "ir_module_module"."id"
FROM "ir_module_module"
WHERE ("ir_module_module"."state" = 'installed')
ORDER BY "ir_module_module"."name"The web autocomplete component now supports focusing its input automatically and adding a custom style class to its container. This gives Odoo screens more flexibility to create smoother, more polished user interactions without changing core behavior.
Original PR description
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
This update makes internal test data for Odoo's messaging-related features more consistent ahead of future Discuss improvements. It also adjusts an attachment test so it can run reliably on larger screens, helping reduce maintenance risk without changing day-to-day user behavior.
Original PR description
In preparation of discuss refactoring. Extracted from https://github.com/odoo/odoo/pull/110188 to ease its diff a little.
The CRM lead scoring settings modal now makes the date field visibly underlined so users can more easily recognize it as editable. The confirmation button is also renamed to “Update,” making the action clearer before applying changes.
Original PR description
Make the date field always underlined in the PLS modal in the settings, to indicate that it is editable and not a technical constraint. Task-3193113
This update removes extra spaces before punctuation marks such as colons, semicolons, question marks, and exclamation marks across several Odoo areas. It improves the professionalism and consistency of English-language text shown in the product, demos, and related messages.
Original PR description
According to Wiktionary, *French spacing* is "the archaic practice (though still current in French) of inserting a space around colons, semicolons, question marks, and exclamation marks". This is not standard practice in English and most languages of the world. The purpose of this commit is to start purging the code from this typo, as it may reflect poorly on the software for some people. Enterprise: https://github.com/odoo/enterprise/pull/37853
This update lets Odoo screens show dropdown controls in a disabled state when an action should not be available. It helps create clearer interfaces and prevents users from trying unavailable options.
Original PR description
With this commit, we can now customize the Dropdown component to make it disabled. 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
Document extraction now stores document identifiers in a simpler text format and consolidates duplicated service endpoints. This improves maintainability and helps invoice, expense, and recruitment document processing stay consistent across the system.
Original PR description
Upgrade PR: odoo/upgrade#4417
Manufacturing orders and work orders now use one set of dates that updates from planned to actual progress as work starts and finishes. This reduces duplicate date fields and helps reports and planning views show the most relevant timing information consistently.
Original PR description
Since starting a workorder and marking it as done replace scheduled dates with effective ones... task: 3108291
The AvaTax settings page now includes a checkbox to control whether related options are shown. This makes the configuration screen clearer without affecting whether the AvaTax module is installed.
Original PR description
Before this PR, the avatax setting was missing a checkbox on the left, the goal of the checkbox is not to uninstall the module but will be use only for the display or not of the options below. task-id: 3226604
This update removes unnecessary spaces before punctuation such as colons, semicolons, question marks, and exclamation marks across many Odoo Enterprise apps. The change improves the polish and professionalism of English text shown in the product without altering business workflows.
Original PR description
According to Wiktionary, *French spacing* is "the archaic practice (though still current in French) of inserting a space around colons, semicolons, question marks, and exclamation marks". This is not…
According to Wiktionary, *French spacing* is "the archaic practice (though still current in French) of inserting a space around colons, semicolons, question marks, and exclamation marks". This is not standard practice in English and most languages of the world. The purpose of this commit is to start purging the code from this typo, as it may reflect poorly on the software for some people. Community: https://github.com/odoo/odoo/pull/114533 \* = account_asset, account_auto_transfer, account_bank_statement_import, account_consolidation, account_sepa_direct_debit, appointment, documents_l10n_be_hr_payroll, event_barcode, event_social, helpdesk, hr_appraisal, hr_appraisal_survey, hr_contract_salary, hr_payroll, hr_payroll_account, hr_referral, industry_fsm, iot, knowledge, l10n_be_hr_payroll, l10n_be_reports, l10n_de_pos_cert, l10n_es_reports, l10n_ke_hr_payroll, l10n_ma_hr_payroll, l10n_mx_edi_website_sale, marketing_automation, mrp_mps, mrp_plm, mrp_workorder, mrp_workorder_hr, pos_hr_mobile, sale_planning, sale_purchase_inter_company_rules, sale_renting, sale_stock_renting, sale_subscription, sign, social, spreadsheet_edition, stock_barcode, stock_barcode_picking_batch, timesheet_grid, voip, web_gantt, web_studio