itpp-labs / pos-addons

Odoo POS Addons
https://itpp.dev
MIT License
365 stars 581 forks source link

odoo 12 multisession POS freezes on Sync Orders #924

Open alaherma opened 5 years ago

alaherma commented 5 years ago

Hi i installed odoo pos_multi_session module on odoo 12. I already changed to "workers = 1" and my sync server is " //localhost:8080"

but when loading the POS it just stays on Sync Orders for ever

what am i missing?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/70146016-odoo-12-multisession-pos-freezes-on-sync-orders?utm_campaign=plugin&utm_content=tracker%2F2289114&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2289114&utm_medium=issues&utm_source=github).
gustavovalverde commented 5 years ago

Is the console showing an error? (F12 for developer tools)

gustavovalverde commented 5 years ago

@ilmir-k now that I see the instructions, it might be confusing that the syn server shown is //localhost:8080 which won't work based on the nginx configuration on the same instructions. https://github.com/it-projects-llc/pos-addons/blob/11.0/pos_multi_session_sync/doc/index.rst

It would be nice to also explain to newcomers that the sync server has to be contacted from the local (POS) network, not from the Odoo (server) network.

shabeervpk commented 5 years ago

Hi @gustavovalverde, Am a newcomer, Can you please provide the details regarding Sync Server, the instruction are confusing for me.

  1. is Sync server is an instance of Odoo?
  2. Where to setup the Sync server : Can it be along with Odoo in cloud (same server) OR it should be in local?
  3. In the documentation : https://github.com/it-projects-llc/pos-addons/blob/11.0/pos_multi_session_sync/doc/index.rst Nginx conf of Sync server showing Odoo running on 8079 and 8082 (long-polling), But in main_server UI config of //localhost:8080 Is that correct?

All your POS modules are great!! I had setup the POS in Odoo11, without any seperate sync server (main_server worker=2, as report printing requires workers>1) with 1posbox from raspberry pi, am facing some issues:

Can you provide some details regarding the Sync Server

ilmir-k commented 5 years ago

@gustavovalverde Yes, right. Thanks for reporting this, I'll make the changes in the instruction