-
-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADD] start module pos_order_no_offline, the aim is to have a blocking synchronisation in order to be sure to synchronise the order without any posibility to destroy it #172
Conversation
…g synchronisation in order to be sure to synchronise the order without any posibility to destroy it
=========================== | ||
|
||
This module remove the possibility to generate a pos ticket without connexion. | ||
This mean that no pos order can be drop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/drop/dropped
Hi @sebastienbeau. Thanks a lot for this PR. Indeed the offline mode can be saw as a possibility to cheat with the Sapin law. In another hand, cutting offline mode will be a problem for a lot of shops, specially the big ones. I can not figure out to sell a PoS system to a customer if I say, "your cashiers can not work if you have an internet trouble, or your cashier should know how to give Wifi access to the PoS with a phone". It's possible in a little shop, really not in a supermarket.
What do you think ? I can implement the second feature. Note : it's possible to protect users to use this feature, adding a setting in a config file like 'pos_warning_mode' allowed. (False by default). |
HI Sylvain I agree that sharing the wifi of the phone is not a solution for big shop (it only work for little shop). For big shop I see too possibility:
Regarding the law I do not think having a warning is enough... and if we really want something secure I do not see other solution then cutting the offline mode. But I think it's acceptable in France Internet connexion are good. A good proof is how many company are already internet/telephony depend ? The best example is the telephony, how many company use asterisk (or other solution) and it's critical for there business? Moreover the POS do not really work in offline mode (for now) there is no possibility to open a session without internet and no possibility to print an invoice too. But we have too be aware that having 2 connexion have an extra-cost and so only the big one can paid for it. But this is always the same thing risk vs cost. If the cost of the failure is important you need to invest in solution, paying for 2 or 3 connexion is for me totally acceptable. If you are a really small shop and the cost of failure is not important you can always use your smart phone as a backup. What do you think? |
Hi @sebastienbeau. Thanks for your response.
We are talking about degraded mode. It's "normal" that in degraded mode, some features are anavailable. I'm fully OK that having a double connexion reduces problems, but it can not be sufficient in some cases. (server problem, failover system problem, etc...) you'll have in many times some PoF in your infrastructure. |
In accordance with @sebastienbeau . |
Regarding the new finance law in France we need to be sure that a pos order can not be destroy
Right now it's easy
As no order have been send to the Odoo server you data have been drop.
We think about implementing an hash on server side and removing offline mode for sending the order (no ticket without sending the order to odoo). We can also add the first number of the hash on the ticket
For now I just play with the pos in order to test if we can remove the offline mode.