7
votes

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.

1
Well, by saving data on the client side and sending them to the server when the connection is restored. Is there a particular function of the POS that you want to know more about ?George Daramouskas
Yes thats what i want to know.Thameem
have you seen the docsYasar Arafath
yes but i can't find about POS technically.Thameem
Have you built the software already?leonardeveloper

1 Answers

3
votes

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.