Connecter une imprimante¶
Vous pouvez installer une imprimante en quelques étapes faciles. L’imprimante peut être utilisée pour imprimer des reçus, des étiquettes, des ordres ou même des rapports des différentes applications d’Odoo. De plus, les actions de l’imprimante peuvent être assignées comme une action sur un déclencheur pendant le processus de fabrication ou ajoutées à un point de contrôle qualité ou à un contrôle qualité.
Avertissement
The only way to connect a printer directly to an Odoo database is through the use of an IoT box.
Without an IoT box, printing can still occur, but it is managed through the printer itself, which is not the recommended process.
Connexion¶
The IoT box supports printers connected through USB, network connection, or Bluetooth. Supported printers are detected automatically, and appear in the Devices list of the IoT app.
Note
Printers can take up to two minutes to appear in the IoT app Devices list.
Lier une imprimante¶
Lier une imprimante aux ordres de travail¶
Les Ordres de travail peuvent être liés aux imprimantes, via un point de contrôle qualité, afin d’imprimer des étiquettes pour des produits fabriqués.
Dans l’application Qualité, vous pouvez configurer un périphérique sur un point de contrôle qualité. Pour ce faire, allez à l’application
et ouvrez le point de contrôle souhaité auquel l’imprimante doit être liée.Important
Une Opération de fabrication et une Opération d’ordre de travail doivent être jointes à un point de contrôle qualité avant que le champ Type permette de sélectionner l’option Imprimer l’étiquette.
À partir de là, modifiez le point de contrôle en sélectionnant le champ Type et en sélectionnant Imprimer une étiquette dans le menu déroulant des options. Cette opération fait apparaître un champ Périphérique, où vous pouvez sélectionner le périphérique relié. Enregistrez les changements le cas échéant.
Vous pouvez désormais utiliser l’imprimante sur le point de contrôle qualité sélectionné. Lorsque vous atteignez ce point de contrôle qualité pendant le processus de fabrication, la base de données vous donne l’option d’imprimer des étiquettes pour un produit spécifique.
Astuce
Vous pouvez également accéder aux points de contrôle qualité en allant à l’application Points de contrôle qualité où vous pouvez les ajouter au périphérique.
, puis sélectionnez le périphérique. Allez à l’ongletNote
On a quality check detail form, the Type of check can also be specified to Print Label. To create new quality checks, navigate to .
Pour plus d'infos
Lier une imprimante aux rapports¶
It is possible to link report types to a specific printer. In the IoT app, go to the Devices menu, and select the desired printer to be configured.
From here, go to the Printer Reports tab, and click Add a line. In the window that appears, check all the types of Reports that should be linked to this printer.
Astuce
Reports can also be configured in the Technical menu of the Settings app, while in debug mode. To do that, navigate to . From here, select the desired report from the list. Then, an IoT Device can be set on the report.
The first time a linked report is selected to print, a Select Printers pop-up window appears. Tick the checkbox next to the correct printer for the report, and click Print. At that point, the report is linked to the printer.
Clear device printer cache¶
After a printer is linked to print a report, the setting is saved in a browser’s cache. This means a user can have different devices saved in their cache for different reports, based on the device they use to access Odoo. It also means different users can have a report automatically printed from different printers, based on their preferences.
To unlink a report from a printer, navigate to Unlink button next to each report to remove the link.
. This generates a list of reports that are linked to a printer on the current device. Click theImportant
This step only prevents the report from automatically printing to the listed printer from the current browser. The report is still linked on the device, under the Printer Reports tab.
Pour plus d'infos