Daily updates from Odoo
Friday, September 16, 2022
15 changes · master
Enhancements to existing features
The quality worksheet validation screen and quality domain field have been modernized using Odoo’s newer interface framework. This should improve maintainability and help keep quality control workflows consistent with the rest of the platform, with minimal direct change for end users.
Original PR description
This commit converts both the `worksheet_validation` form and the `quality_domain_field` to OWL TaskId: 2986089
Timesheet entries now verify that the linked employee is active when they are created. This helps prevent records from being logged against inactive employees, improving data accuracy across timesheet-related workflows.
Original PR description
At creation of aal, check that timesheets have an active employee. task-2884736 Related PR: odoo/odoo#93823
Odoo Sign can now add an optional branded frame to signature areas showing that the document was signed with Odoo. The frame includes a signer-specific verification hash, with part shown near the signature and the full value added at the end of the document, improving trust and traceability.
Original PR description
Add an optional 'Signed with Odoo signed' frame on sign items. These frame also feature a hash unique to the signer (signer email + db_uuid) which is partially present on the frame and present at the end of the document. task-id : 2946442
CRM dashboard spreadsheets have been refreshed to provide more current and useful views of leads and pipeline performance. This helps teams monitor sales activity and make decisions with clearer dashboard information.
Knowledge articles now use the newer emoji picker when users choose or change an article icon. The experience remains familiar while adding a clear option to remove an existing icon directly from the picker.
Original PR description
This commit replaces the legacy emoji picker by the new emoji picker in knowledge. The emoji picker is triggered by the same user interactions as the legacy emoji picker, i.e. click on an icon in a knowledge article. Knowledge emoji picker has the default behaviour of base emoji picker, and then slightly extends with a action to remove the icon of emoji. This remove action is a button in the header part of emoji picker. Task-2980528 Community: https://github.com/odoo/odoo/pull/100010
Tasks created from documents now include a log note, making it easier for teams to understand where work originated. Planning shifts created from a task's planned hours action now use the task dates by default, reducing manual entry and helping schedules stay aligned.
Original PR description
** = project_forecast,planning Purpose of this commit to improve generic usage of project app. So, in this commit done following changes: - add log note for tasks created from documents - add default dates for Hour Planned button's action to set default dates on newly created shifts according task's dates. task-2853991
Task bars in Gantt views now show start time, end time, allocated hours, and task name when the planned work is under 24 hours. This makes short tasks easier to understand at a glance, and project contract buttons are hidden when no related contract exists.
Original PR description
-When the task plan is less than 24 hours, the start hours, end hours, and allocated hours and the name of the task will appear in the gantt view in the pill title. Example- '7:00 AM - 11:00 AM (4h) - DST Task 1' Currently this features is only in planning. Create a new services_web_gantt module and it's used in planning and project_enterpise modules. -If the project does not have a link to any of the contracts then the contracts stat button will not appear in the project form view. task-2672783
The Appointment, Knowledge, Planning, and Sign apps are now configured to install automatically when their requirements are met. This reduces manual setup work and helps businesses activate related workflows more smoothly.
Resolved issues and error corrections
Graph and pivot views now receive the extra field information they need to show all valid measure and grouping choices. This helps users build reports more reliably without missing available numeric measures or groupable fields, while test tooling was updated to match the server behavior.
Original PR description
Following odoo/odoo@4636620004f0cc0e504cd6694fe8ddb6758ba811 `get_views` only pass the model fields included in the view architecture, except for the main model when the search views is requested.…
Following odoo/odoo@4636620004f0cc0e504cd6694fe8ddb6758ba811 `get_views` only pass the model fields included in the view architecture, except for the main model when the search views is requested. Because the search views requires all fields for the user to be able to make advanced filters and advanced group by using any fields of the model. However, other views requires more field descriptions as well than just the fields included in their architecture: - the graph view requires all integer and float fields, to automatically add suggestions of measures in the measures dropdown menu. It's a bit like the search view, the user should be able to choose any measure available in the model (as long as this is integer or float fields) - the pivot view requires all groupable fields, so the user can group by any groupable fields of the model. The JS MockServer `getViews` is adapted to include the changes added by the above revision as well as the current revision, for the qunit tests suite to be able to reflect these API changes from the server side.
This fixes an issue where the report export wizard did not work correctly when the Documents Accounting app was installed. The problem came from a class being moved to the wrong place during refactoring, and a new test was added to help prevent the issue from returning.
Original PR description
When documents_account was installed, the report export wizard was not working properly. During a refactoring, a class was incorrectly moved. A test is added to prevent that to happen again. Signed-off-by: Ruben Gomes <rugo@odoo.com>
Opening the balance from the bank reconciliation widget now works without causing an error. This restores a normal accounting workflow after an internal reporting change broke the link.
Original PR description
…ank reconciliation report - Go to the bank reconciliation widget - Click on the balance on the top => Traceback There are two issues here: 1) The action no longer exists since the refactoring of account_reports 2) Even if fixed, We are referencing an action defined in account_reports that is not a dependency of account_accountant.
This update adjusts several accounting, localization, rental, signing, and Studio features to work correctly with Odoo's newer translation storage format. It helps preserve translated content reliably when reports, views, and related tools are edited or tested.
This fixes the Hungarian balance sheet and profit and loss report definitions so financial statements are generated more accurately. It helps Hungarian companies rely on Odoo reports for compliance and business reporting.
Original PR description
Fix balance sheet and profit and loss for Hungarian localization Task-id: 2816907 Signed-off-by: Ruben Gomes <rugo@odoo.com>
This fixes an issue where PDF support was not loading properly in the Documents app after recent asset bundle changes. Users should once again see PDF thumbnails and previews behave as expected when working with documents.
Original PR description
After the changes to bundles recently the pdf js bundle was not loaded properly within the documents app.
Installing the Chilean localization reports module no longer causes an error when users open Settings. This fix keeps the configuration page accessible, reducing disruption for companies using Chile-specific reporting.
Original PR description
Installing l10n_cl_reports would lead to a JS error upon opening Settings. The error seems to be due to an 'o_settings_container' being defined inside another. This commit fixes this. It's not clear to me why this error only appeared now, and not in previous versions. Task 2968918