Daily updates from Odoo
Monday, September 12, 2022
7 changes
Resolved issues and error corrections
A test-only spreadsheet patch was relocated so its setup and cleanup now live in the same module. This keeps spreadsheet-related tests organized and avoids accidental dependencies from affecting other document spreadsheet tests.
Original PR description
disable_patch has been introduce in tests assets in order to disable the graph_spreadsheet, as this patch add dependencies (as menu) to the graph view. In https://github.com/odoo/enterprise/commit/2cd6bd81051bb064a5f7d5f8d08bfdee4afce76d, the patch has been moved to spreadsheet_edition, but the unpatch was still in documents_spreadsheet.
The CRM pipeline dashboard could fail to open because required start and end date fields were not included in the view data. This fix ensures cohort views automatically include those date fields, preventing the dashboard error and restoring access to reporting.
Original PR description
This follows revision odoo/odoo@4636620004f0cc0e504cd6694fe8ddb6758ba811 When accessing the dashboard view in CRM -> Reporting -> Pipeline an exception occurred: ``` UncaughtPromiseError > TypeError Uncaught Promise > fields[dateStop] is undefined ``` This is because the field in the cohort node attributes `date_start` and `date_stop` were not added automatically to the available fields of the view, hence these fields were not passed in the fields returned by `get_views`, because of the above mentioned revision. A similar code exists in `base` for the calendar view: https://github.com/odoo/odoo/blob/3a2196d73cfe5b5cd6cfda8e203b81969106831e/odoo/addons/base/models/ir_ui_view.py#L1157-L1160 Related to odoo/odoo#100021
The cohort reporting view now reads hidden-field settings from the updated data format sent by the server. This prevents fields that should be hidden from being shown or handled incorrectly after a related platform change.
Original PR description
This commit is the counter part of https://github.com/odoo/odoo/pull/99948 It adapts the cohort view to make it retrieve the `invisible` information on `<field/>` nodes inside the `modifiers` attribute, since the server no longer sends the `invisible` attribute, since https://github.com/odoo/odoo/pull/99619.
Portal users can now continue opening items in their favourite Knowledge article list after adding or removing a favourite. This fixes a navigation problem so eligible users can keep accessing shared knowledge content without the list becoming unusable.
Original PR description
Currently, in the knowledge module, when a portal user adds/removes an article to their favorite list, the whole list is unclickable. To fix the issue, we have added `portal_readonly_mode` param in the template render according to the user rights and it will show a clickable link if the user has correct rights. task-2925871
This fix updates styling rules so appraisal and enterprise form fields display correctly after recent interface changes. It helps maintain a consistent, polished layout for users working with appraisal forms and other enterprise views.
Original PR description
task-2898432
This update fixes small typos in the SEPA direct debit mandate interface. It improves clarity for users reviewing or managing direct debit mandates without changing any business process or functionality.
Original PR description
Signed-off-by: maximilien(malb) <malb@odoo.com>
This fixes a Planning display issue where shifts for an employee could overlap with open shifts in the Gantt view after that employee was archived. Schedules now show the correct end date, helping managers read past and current planning information accurately.
Original PR description
Before this commit, in planning when a shift is made for any user and in between the user is archived the shift in Gantt view overlaps with open shift even when the user is archived After this commit, the shift doesn't overlap in Gantt view when user is archived task-2969228