Skip to content
Snippets Groups Projects
Commit 8bce8cd5 authored by Nicolas Bayet's avatar Nicolas Bayet
Browse files

[FIX] web_editor: prevent disconnection from peer to peer


Before this commit, once a user was disconnected from internet (eg.
network failure, laptop screen closed), the code disconnected the user
from the peer to peer network and upon reconnection to the internet
network, the code did not try to reconnect to the peer to peer network.

This created a network partion in the peer to peer network each time
a user disconnected and reconnected to the internet network.

When there is a partition in the peer to peer network, the last subnet
to write to the record erased the changes of another subnet without
notification.

This commit prevent the code to disconnect from the peer to peer network
when there is any disconnection signal triggered.

closes odoo/odoo#105857

Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent e6d83c22
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment