Support a subset of operations in disconnected mode

Registered by Raphaƫl Valyi - http://www.akretion.com on 2008-12-13

As discussed with Fabien Pinckaers, the GTK client already have its own cache and the server is able to deal later on with concurrent writes, so it should be easy to:
* have a button that will prefetch into the client cache most a good subset (parametrable?) of the OpenERP resources, such as Product Catalog, Partner Contacts...
* then store that cache in a file and allow to start the GTK client using that cache instead of connecting
* then run in disconnected mode using only the cache and displaying a nice message/not crashing when the user try something that can't be done offline.
* Intercept non read requests to the server, display a message and record those requests into the cache
* Finally, when back in connected mode, display an interface were you can replay your non read requests step by step, seeing the server answer for each request (like warning concurrent access, what do you want to do write anyway/don't write)

Doing this would easily allow doing some operations in a disconnected mode without the trouble of installing/maintaining full blown OpenERP server on every potentially disconnected clients.

Fabien Pinckaers told me that was a matter of a few days for him to implement. Anyone to fund it / do it?

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

excellent idea. I think it should be configurable, which modules you want to be available offline and which modules online... and perhaps even segmentation by "branch" or "user" as to what they can see and interact with....

Agreed - OpenErp needs more Client/Server connection/location/configuration options like this

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.