Odoo Help

Welcome!

This community 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.

1

Could I call a client action from server side?

By
Cristian Sebastian Rocha
on 3/17/14, 3:07 PM 1,138 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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