This question has been flagged
2 Replies
2444 Views

For a case where need to be able to print the same document template from multiple printers (ex. Bureau 1 uses printer A and bureau 2 printer B), is there a way to configure the IoT Box so that, we I click on print, I have the choice between the printers? 

Avatar
Discard
Best Answer

Hi Rosalie,

this app allows you to assign a default printer for every user - https://apps.odoo.com/apps/modules/15.0/printnode_base/


It's not an IoT box solution. You can learn more about differences here - https://youtu.be/NrEC3yzJpv8

Avatar
Discard
Best Answer

Hello Rosalie,

You can define several report actions for the same PDF. It will create a sub-item under the "Print" menu of the target model. So you can create one report action per device.

Example :  https://drive.google.com/file/d/1a1xT2hVhhWN5f-GtB6CaUsVCxeOP9aD7/view

Avatar
Discard

I would like to select the Printer in the user's profile. This way I can assign each user with some specific printer.
I am trying to extend 'report_action', because I see they do it in iot/models/ir_actions_report.py. But somehow the function I am extending is not called when I print the report. Any hint?