Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.46k stars 2.79k forks source link

Mobile App with Offline Functionality #31674

Open challengerjha opened 1 week ago

challengerjha commented 1 week ago

Feature Request

Introduce an offline mode for the Dolibarr mobile app, allowing users to access critical data and perform key functions without an internet connection. Data should automatically sync once the device is back online.

Use case

Field employees or sales representatives often operate in areas with poor or no internet connectivity. With an offline mode, they can continue to access customer information, create invoices, and log activities. This ensures uninterrupted productivity.

Suggested implementation

  1. Data Caching: Store essential data locally on the device in an encrypted format to ensure security.
  2. Task Queue: Allow users to perform tasks like adding notes or creating invoices offline, which are queued and automatically synced when connectivity is restored.
  3. Conflict Resolution: Implement a system to handle conflicts if the same data is updated by different users while offline.

Suggested steps

No response

ksar-ksar commented 1 week ago

Hello,

I do not want to "break your wish" but this has been already discussed a lot of time.

  1. Today, the areas where you do not have 4G/Wifi/Starlink/etc... are quite limited, so the interset for this kind of feature is very limited.
  2. How to deal with Conflicts/Changes that affect Invoices etc... It's almost impossible.

If really you are often OFFLINE, and that you are working alone on Dolibarr, invest in a "portable" Raspberry Pi to have Dolibarr always with you. With a remote syncro when Internet is back.

zephyriony commented 1 week ago

Hello,

I do not want to "break your wish" but this has been already discussed a lot of time.

  1. Today, the areas where you do not have 4G/Wifi/Starlink/etc... are quite limited, so the interset for this kind of feature is very limited.
  2. How to deal with Conflicts/Changes that affect Invoices etc... It's almost impossible.

If really you are often OFFLINE, and that you are working alone on Dolibarr, invest in a "portable" Raspberry Pi to have Dolibarr always with you. With a remote syncro when Internet is back.

I don't entirely agree with your point 1. In some business areas, technicians who have to fill in their work orders don't have a connection for a variety of reasons:

So an application would be very useful.

In my company, we had to solve this problem: when we have Internet, we work online, otherwise the technicians work offline on a xampp, sql triggers record all the changes and when we reconnect, we inject everything into the live database. Where it's a pain is in the other direction, we're obliged to send the entire online database back to the client PC. It works pretty well, though.