Monday, March 8, 2021
3 changes · master
Enhancements to existing features
This update makes online course and documentation pages look and behave more consistently, including clearer navigation, corrected button layouts, and a new fullscreen option for documentation. It also fixes small visual issues such as profile progress colors and improves mobile layout alignment, helping learners navigate content more smoothly.
Original PR description
- Fixed the color of the progress circle in the profile.
- Documentation Type have now a fullscreen mode.
- fa-plus removed on 'Add Tag' button.
- Layout of Documentation + Enroll Policy = Invitation reviewed to use correct buttons
in order to join the course
- On same page, menu reviewed : Height corrected, Menu elements not displaying
on two lines.
When reducing screen size : menu's border-top is added, alignement is correct,
tabs 'Course' and 'Reviews' are displayed on the right spot.
- Course Form : the type ('documentation' or 'course') is now under 'Display'
Task ID: 2275688Questions in eLearning courses can now be archived instead of removed, helping teams keep historical results and statistics intact. The update also adds question reporting graphs and improves performance for tracking answer attempts, with a small configuration wording correction.
Original PR description
Archive question to keep history and stats. Add reporting graph for Questions. Also fix a typo in config For performance, the field attempts_count is now a regular field updated when need. This also include a migration script to compute attempts_count. Task-2209066
Resolved issues and error corrections
This fix prevents repeated presence updates from competing with each other when many users or devices reconnect at the same time. It helps keep normal Odoo actions responsive during busy messaging or notification activity by skipping non-critical update conflicts instead of retrying them.
Original PR description
/longpolling/poll requests are most often requests to Odoo. Moreover, such requests may be sent at the same moment from all users. For example, when all users are subscribed to a common channel and…
/longpolling/poll requests are most often requests to Odoo. Moreover,
such requests may be sent at the same moment from all users. For
example, when all users are subscribed to a common channel and someone
sent a message, all current polls are closed to deliver the notification
and after that, all clients start the request again.
If some users have several clients open (e.g. on desktop and mobile),
they may send many parallel requests and hence make concurrent queries
to update presence. We don't need be sure that every such query is
processed. So, just fail fast and carry on polling.
To test perfomance impact of this commit, copy curl command for poll request
from browser network tool and repeatly execute it, e.g.,
```
for i in {1..1000}
do
sleep 0.1
curl ... &
done
```
Without this commit you may notice such warnings in the logs:
```
... odoo.service.model: SERIALIZATION_FAILURE, retry 1/5 in 0.2071 sec...
```
At that moment, try to make normal odoo operations (e.g. create a sale
order): it would work slower than usual.
---
opw-2451865
close #57067
closes odoo/odoo#67390
X-original-commit: aad9cbe80dae28c0869fe6f543fbe0118357ce57
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
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