multi-company - multiple session - problem - possible data integrity violation

Bug #768175 reported by Ferdinand
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP's Framework R&D

Bug Description

currently it is possilbe to (same database)
* login - select company "A"
* open a second client session
** login - select another company "B"

going back to client with company A - still shows company "A" but displays / works on data of company "B" causing data entry in the wrong company. - > sort of logical data corruption.

this must be prohibited or better a working solution must be found.

IMHO the current company could/should be linked to the session id (+ user) instead of res.user

in multicompany envirenments it is very typical that users will open 2 or more clients, especially to answer telefon calls regarding another than current company without interrupting current work / data entry.

Revision history for this message
Frederic Clementi - Camptocamp (frederic-clementi) wrote :

on the web client ?

Revision history for this message
Ferdinand (office-chricar) wrote :

IMHO any client as the current company is stored in the database for each user.

in WEB the user might create a new tab or a new window and login multiple times

the user also might login form another computer/device at work/at home without logging out

Amit Parik (amit-parik)
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.