Odoo Help

1

Could I call a client action from server side?

By
Cristian Sebastian Rocha
on 3/17/14, 3:07 PM 1,362 views

Hello,

I need to send a message to the web client and wait for response in middle of a workflow action. Could It be possible?

context: I developed a fiscal printer driver in client side using javascript. To validate an invoice, I need to print the ticket and wait for the printer response to confirm the invoice. How could I do that? I try to use the web controller, but I can't image how to use it to send a request and wait for a response. The client can use the EventSource object to wait for requests, but I don't know how to control this from the server side.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 3/17/14, 3:07 PM
Seen: 1362 times
Last updated: 10/29/15, 2:39 PM