KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
odoo-print
★ 9
Open GitHub ↗
Odoo module for direct printing
Download README (.md)
Explore Similar Repositories
hls-video-sharing
:
HKOSCon 2018 sharing: Video.js with HLS
Aircraft-door-detection-based-on-contour-fusion
:
A Fast Algorithm of Aircraft Door Detection Based on Image Processing
MultiDOE
:
This MultiDOE toolbox regroups many existing tools for generating sample points using many specific DOE techniques.
Wifi_Bt_Esp32_Quad_Relay
:
Code and document for Wifi BT Esp32 Quad Relay Board
Treble
:
A simple audio editor written in Python
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
odoo-print
?
Download (.md)
Print directly to backend printers ================================== [](https://travis-ci.org/unipartdigital/odoo-print) This module provides a ```print.printer``` model to represent printers connected to the Odoo server. This allows for backend code to send reports directly to a printer, rather than requiring the user to download a PDF to be printed manually. The primary use case is for printing reports: this can be triggered in the Python code via e.g. Printer = self.env['print.printer'] Picking = self.env['stock.picking'] pick = Picking.search([('name', '=', 'PICK00009')]) Printer.spool_report(pick.ids, 'stock.report_deliveryslip') Note that ```spool_report()``` may be called on a specific printer or directly on the model. If called directly on the model, the user's default printer (or system default printer) will be used. Another common use case is to identify a printer by barcode and associate it as the current user's default printer: Printer = self.env['print.printer'] printer = Printer.search([('barcode', '=', 'PRNLAB02')]) printer.set_user_default()