Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4060 มุมมอง

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? 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง

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?

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มิ.ย. 24
6765
1
พ.ย. 23
5604
1
พ.ค. 25
776
1
เม.ย. 25
7437
0
มี.ค. 25
1229