Wednesday, August 9, 2023
6 changes · master
Resolved issues and error corrections
Draft records in Mail now show a follower count of 0 instead of a loading spinner before they are saved. This avoids a confusing wait state and makes the record status clearer for users.
Original PR description
Before this commit, the follower loading spinner was shown for draft records until it was saved. This is incorrect, follower count should instead be 0. This commit fixes this issue.
Point of Sale now clearly highlights invalid money amounts in cash in/out and session closing popups. This helps cashiers spot entry mistakes immediately and reduces the chance of incorrect cash operations.
Original PR description
Since the use of Bootstrap, the money inputs using the useValidateCashInput hook are no longer correctly displayed when the user input is invalid. Steps to reproduce: - Open a session in a shop - Open the "Cash In/Out" menu with the top right dropdown menu - Enter an invalid amount, like "invalid" for example The input is not displayed with red borders. This commit fixes the display of invalid inputs in the Cash In/Out and Closing Session popups, using the Bootstrap is-invalid CSS class. task-id: 3444048
This fixes a Point of Sale display issue where users could still access the top navigation bar while a temporary screen, such as the partner list, was open. The temporary screen now behaves as intended, keeping users focused on completing the required action before returning to the main flow.
Original PR description
With the introduction of Bootstrap in the PoS, the navbar was still accessible when showing a tempScreen as the PartnerListScreen. This is not intended as the tempScreen act "like a big popup" where the user must do the action on the tempScreen before doing anything else. The problem here is that the Bootstrap integretion forgot to add the correct style to the div "block-top-header" which is done in this PR (background-color, width, height and position). For example, the top of the PartnerListScreen looked like this before  and now looks like this  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The forum validation queue filter now shows the intended icon instead of an incorrect stray character. This makes the moderation filter menu look consistent and easier for administrators to understand.
Original PR description
before this commit, in the forum validation queue filter, along with the text filter instead of icon some hard coded value(圾) is shown as text. * create a user with very minimum XP * create a post from new user login * from admin login, click validation queue in the forum * click on filter in the validation queue after this commit, the text will be replaced with fa-font icon, so that all filters will look similar. Before:  After:  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The appointment page now only shows the publish button to users who have permission to publish. This prevents crashes for users without the necessary access rights and creates a smoother experience.
Original PR description
Earlier, publish button was visible for all user type but caused crashes for the user who don't have the access to publish it. This commit addresses the issue. Now, only users with the appropriate access rights will see the button, preventing crashes. Task-3339257
The Knowledge app now shows the property helper only when no properties remain. This prevents confusing helper prompts from appearing while users are simply deleting individual properties.
Original PR description
**Before this PR**: Property helper was appear when deleting any property Because this issue was introduced in this commit https://github.com/odoo/enterprise/commit/127f512b1a72957eb23c41103ecab44e1fdce0e7 **After this PR**: Property helper will come only when there is no property **Task**-3450016