跳至內容
選單
此問題已被標幟
2 回覆
4030 瀏覽次數

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?

相關帖文 回覆 瀏覽次數 活動
2
6月 24
6742
1
11月 23
5562
1
5月 25
742
1
4月 25
7368
0
3月 25
1201