Wednesday, September 20, 2023
4 changes · master
Resolved issues and error corrections
This fixes a display issue in Marketing Automation where the dropdown in the launch test modal could appear with no usable width. Users can now see and use the selector as intended when preparing a test launch.
Original PR description
Description of the issue/feature this PR addresses: In the marketing automation module, the dropdown of the 'launch test' modal is not fully visible because a css rule forces the field of having a width of 0 (see: `width: 0!important`). Current behavior before PR: The dropdown has a width of 0 which makes the field unusable. Desired behavior after PR is merged: The dropdown is fully visible. Task id: 2572330 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Dropdown menus in the website editor now automatically scroll into view when opened near the bottom of the side panel. This removes the need for users to manually scroll to find menu options, making page editing smoother.
Original PR description
Whenever an option is at the bottom of the right panel and displays a dropdown to select an option, it's kind of opening off screen, you then actually need to scroll down to see the dropdown. After this commit, it will automatically scroll down to ensure the dropdown menu is fully visible, so the user won't have to scroll manually. task-3500768
The payment provider setup forms once again allow users to duplicate existing providers. This restores a useful option that had been removed unintentionally, helping teams create similar payment configurations more efficiently.
Original PR description
This reverts commit 5fd345e. The duplicate option was removed but it should be available.
When Social has no connected accounts and users group posts by stream, the page now shows the expected 'No Stream Added yet!' guidance instead of a blank screen. This makes the empty state clearer and helps users understand what action is needed next.
Original PR description
Before this commit: Open Social with no account connected. Select the 'By Stream' filter from Group By. We see an empty screen. We have to make this change following the changes introduced in the file `kanban_controller.js` in the PR --> https://github.com/odoo/odoo/pull/114024 Technical reason: https://github.com/odoo/enterprise/blob/master/social/static/src/js/stream_post_kanban_renderer.js#L50-L52 The method `get showNoContentHelper()` in the code above, returns `!model.hasData()` which has the model value as `KanbanSampleModel`. The `hasData()` returns `true` when the group by is applied even with empty data. And hence the issue. We now use the method `useModelWithSampleData` to pass the model value as `StreamPostKanbanModel`. After this commit: We can see the 'No Stream Added yet!' helper. task-3468029