Daily updates from Odoo
Monday, May 16, 2022
7 changes
Enhancements to existing features
The spreadsheet component in Documents has been updated with usability improvements and fixes. Users can now show or hide sheets, customize menu text colors, and benefit from more accurate display behavior in dashboards and selections.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/cc70b238 [FIX] format: move SET_DECIMAL out of core https://github.com/odoo/o-spreadsheet/commit/04cc1cb5 [FIX] viewport: Don't adjust viewport on Grid selection for all events https://github.com/odoo/o-spreadsheet/commit/1e19489d [REF] renderer: rename col and row variables https://github.com/odoo/o-spreadsheet/commit/72417492 [REF] renderer: use getRect to clip text https://github.com/odoo/o-spreadsheet/commit/6f5c39f1 [REF] renderer: use getRect to compute canvas boxe size https://github.com/odoo/o-spreadsheet/commit/63482f9c [FIX] renderer: correct canvas coordinate in dashboard mode https://github.com/odoo/o-spreadsheet/commit/60663b55 [REF] model: copy dispatched commands https://github.com/odoo/o-spreadsheet/commit/5757f31d [IMP] sheet: allow to show/hide a sheet https://github.com/odoo/o-spreadsheet/commit/3d25784f [IMP] menu: customize text color
Recruiters can now open the offer generation wizard even when a job position has no contract template. Instead of showing an error, the system displays a warning, helping users understand what is missing and continue their workflow more smoothly.
Original PR description
At the moment, if you are in Recrutment and you want to Generate an Offer, if there is no contract template defined on the Job Position, you'll have an error message. After this commit : If the Contract Template is not defined on the Job Position, the wizard will open but will display a warning message instead of the link. TaskID #2837564
Spreadsheet pivot formulas can now refer to grouped values by their position, such as the first date in a group, instead of requiring a specific value. This makes spreadsheet templates and reports easier to reuse when the underlying grouped data changes.
Original PR description
The purpose of this task is to support an equivalent of pivot.position in pivot formulas. It allows to get the nth value of a group by instead of a concrete value. For exemple, `=PIVOT(1, "#create_date", 1) will return the value for the first date we have in the group by. To distingish the concrete value or the positional value, we use the character "#" at the beginning of the field name. Task-id 2802557
This update replaces masculine wording with gender-neutral language in several Odoo modules, including text that may be visible to users. The change supports a more inclusive product experience and helps ensure shared code and demo data avoid reinforcing gender assumptions.
Original PR description
Purpose ======== Change all masculine nouns in Odoo's code to neutral nouns (when possible), making sure that demo data is correctly handled. This is particularly important since our code is open source, and nowadays lots of machine learning models are trained on open source repositories. With this small change we contribute to training more "fair" models, and teaching models that "employee" or "user" != "he". This also affects some text visible by the user, hence making it more inclusive for Odoo users. Task-2853046
Contract templates in the Payroll app are now easier to find and use when preparing employee contracts. This reduces administrative friction for HR teams and helps make contract setup more efficient and consistent.
Original PR description
This commit aims to ease the use of contract templates in the payroll app TaskID #2837703
Luxembourg annual VAT reporting has been merged into the main Luxembourg reports module. This reduces module fragmentation and makes report setup and maintenance simpler for users and administrators.
Original PR description
Merge l10n_lu_reports_annual_vat into l10n_lu_reports so that there is only one module for reports. Task: 2797298
Accounting move lines can now be consistently labeled by purpose, such as cash rounding or display-only lines. This makes financial data easier to filter, report on, and extend across accounting-related workflows.
Original PR description
There is a few use case where we need to filter aml based on some specificities, cash rounding lines, display lines,... This change aims to standardize this by adding a line_type field that would allow specifying the line purpose, making it easy to filter or to extend if needed. Task id #2747764