I want to know how odoo pos working in offline. I checked other resources but i cant found anything.I cant find anything in their official site or nothing found in any other site.
Odoo's POS app is free to use as a package with Invoicing and Inventory apps. However, there is a monthly fee to integrate it with other Odoo apps, usually starting at $42.50 per user.
The Odoo platform allows the users to create and run the POS operations in the mode of sessions. The user can create various POS sessions and run in with the operations. The platform also provides provision for the user to pause and stop a session.
Odoo is a suite of business management software tools including, for example, CRM, e-commerce, billing, accounting, manufacturing, warehouse, project management, and inventory management. Odoo.
This feature gives the user the ability to request data synchronization with the Odoo server. The Offline application has a button, which the user can press to initiate this request. The Offline application will use time stamp to determine the most recent update and use that to synchronize with the Odoo host.
inside every browser there is cache memory so.. the pos stores the data in the cache memory of the browser called DOM( Document Object Model) so, it saves the data as the object. like in the pos there is order so, it creates the object of order in the DOM and saves the customer detail in it as same as for the cart item it stores that in DOM.
and there is a javascript method which calls the actual code in server so, that order get saved and processed. but if the connection is loss or nework not available then it storing data to that cache means DOM.. and when it get connection because it pinging at every perticualar time interval it sends all this stored data to the server and process it.
in short it is a magic of javascript.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With