Wednesday, August 12, 2020
3 changes · master
Enhancements to existing features
The warning shown when deleting a bank statement linked to Point of Sale has been updated to match the actual check being performed. Instead of mentioning only open sessions, it now warns about any linked Point of Sale session, helping users better understand why deletion may be blocked.
Original PR description
Followup on 7416340e0ff96bdabb0578f9c1eccd79baf83e17 Before this commit, The warning on deleting Bank statement was referring to only Open Point of Sale session, while we are checking for any linked Session on Bank statement. Now we show a warning of Linked Point of Sale session. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Sample data now avoids showing every next activity as a warning. This makes demo and test screens look more realistic and easier for users to understand.
Original PR description
The SampleServer picks a random value for selection fields. As a consequence, field 'activity_exception_decoration' is always set, either to 'warning' or 'danger'. This means that the next activity field always displays "Warning" (it displays the next activity only if this field is not set). This special case has been handled in web, as it is the first (and only) one. In the future, if we have to implement several special cases like that, we'll setup a proper hook to allow external modules to define them from the outside. Task 2316726 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves how website-related features check whether optional views are enabled, avoiding reliance on cached lookups. It helps event, membership, shop comparison, wishlist, and e-learning pages reflect configuration changes more accurately for users.
Original PR description
Use is_view_active instead of viewref which one is cached. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr