itpp-labs / pos-addons

Odoo POS Addons
https://itpp.dev
MIT License
361 stars 582 forks source link

pos_sync #528

Open yelizariev opened 6 years ago

yelizariev commented 6 years ago

There is a need for new module, which will sync data from backed.

What List of information, which need to be synced:

pos_sync:

pos_sync_restaurant

How

I should be based on pos_longpolling module and built-in base.action.rule utitliy

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/52533472-pos_sync?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).
yelizariev commented 6 years ago

@ArtyomLosev Did you make other module that syncs something in POS via base.action.rule and longpolling?

yelizariev commented 6 years ago

pos_sync module should be added as dependency to pos_multi_session to avoid problems like described here: https://github.com/it-projects-llc/pos-addons/pull/519#issuecomment-350498125 cc @KolushovAlexandr

ArtyomLosev commented 6 years ago

@yelizariev https://github.com/it-projects-llc/addons-dev/tree/pos-addons-10.0-pos_orders_history/pos_orders_history or this one: https://github.com/it-projects-llc/addons-dev/tree/pos-addons-10.0-pos_invoice_pay/pos_invoice_pay

blaggacao commented 6 years ago

@yelizariev I agree for the need, however, this is the big solution. I'll probably develop something intermediate, which handles gracefully failed syncs from the backend in the meantime... (also good for analysis)

blaggacao commented 6 years ago

addresses also #523

GabbasovDinar commented 6 years ago

@yelizariev I can start to solve the issue

gustavovalverde commented 5 years ago

Waiting for this one đŸ˜º

yelizariev commented 5 years ago

@gustavovalverde we have sync module for res.partner. Do you think other syncs are needed?