Auto Print Reports
Confirm an order, validate a transfer or post an invoice and the report prints itself: the browser fetches the PDF and prints it, with no print service and no account.
| Odoo | 17.0, 18.0, 19.0, 20.0 |
| Editions | Community, Enterprise |
| Works with | Base web client (web) |
| Licence | OPL-1, 55 EUR |
| Tests | 12 automated, run on every version |
| Module | report_ |
The situation
A clerk validates a delivery, waits for the page to reload, clicks Print, picks Delivery Slip, then clicks Print again in the dialog. The same happens for the order confirmation in sales and for the invoice in accounting, forty times a day. Paid print apps remove the clicks, but they send every document to a print service and charge per month.
With this module, an administrator adds a rule: when a user runs Validate on a transfer, print Delivery Slip, 2 copies, only for records with state done. After that, Validate is the only click. The browser of that user fetches the PDF and prints it through a hidden frame. Started with kiosk printing it goes to the default printer without a dialog.
What it adds
Getting started
Open Apps, clear the Apps filter, search for Auto Print Reports and click Activate. It needs only the base web client; the triggers for Sales, Inventory, Purchase, Accounting and Manufacturing show as available when those apps are installed.
Apps › report_auto_print_rules › Activate
Open Settings › Auto Print to read how the printing works and to jump to rules, triggers and the log. For silent printing start the browser on each workstation with --kiosk-printing and set the default printer of that computer. Without that option the print dialog of the browser opens.
Settings › Auto Print
Create the rule in Auto Print › Rules: pick the trigger, the report, the copies, the record filter and the users. Then work as usual. The users in the rule click Confirm or Validate, the PDF is fetched and printed. Auto Print › Print Log shows what was sent, with Print again on each line.
Fine print
Log
Will it work with the kiosk setup we already have on our warehouse PCs?
Tell us the browser and how it is started, and which button should print which report.
Email odoo.expert.111@gmail.com
Also by Awins
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module