Daily updates from Odoo
Friday, September 16, 2022
7 changes
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