Odoo Help


[V8] [SOLVED] Print a report with automated action

on 3/24/15, 6:44 PM 2,414 views

What I want as a result is the ability to reprint a pos order after the validation (set to paid).

Since I don't have a Ethernet thermal printer but just an USB one and I can't set a proxy printer, I need to exit the POS, enter the order and use the "reprint" button. Luckily, since I've installed the Report to printer module I am able to print directly to my thermal printer when I press the button.

I've already installed the modules Automated Action Rules and now I'm begging an help to identify the correct workflow and the syntax to reprint.


Please have a look here for a workaround: bind a report to a workflow

On 4/15/15, 8:20 PM

A little step forward... After reading this old doc


I manage to replicate the function of the "reprint" button on POS Order.

Then I created an automated action to create (and print) the qweb report based on the order status "paid":

-Automated action-

Rule name: Kitchen_order

Related Document Model: Point of Sale

Active: yes

Sequence: 0


When to Run: On Creation & Update

Filter: Paid


Fields to Change

Set Responsible: Administrator

Add Followers: none

Server actions to run

Sequence: 1

Action Name: Reprint_Pos

Action To Do: Run a Client Action


Server Action:

Name: Reprint_Pos

Base Model: Point of Sale

Action To Do: Run a Client Action

Condition: True

Sequence: 1

Client Action: Receipt (Action Type is ir.actions.report.xml)

I've enable it on "More" tab and is working in both cases, I mean when I set it as a PDF or when I send it directly to my printer (using report to printer module).

Then I edit the "paid" function on Pos Workflow, adding my server action (Reprint_Pos) on Actions and leaving untouched all the other parameters.

Seems all good to me but the PDF is not generated automatically. Where I'm wrong?

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.


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)


Asked: 3/24/15, 6:44 PM
Seen: 2414 times
Last updated: 6/4/15, 2:19 PM