{"id":21817194,"url":"https://github.com/mcb30/odoo-print","last_synced_at":"2026-03-08T06:32:29.825Z","repository":{"id":46151202,"uuid":"133922403","full_name":"mcb30/odoo-print","owner":"mcb30","description":"Odoo module for direct printing","archived":false,"fork":false,"pushed_at":"2021-11-11T01:43:50.000Z","size":75,"stargazers_count":8,"open_issues_count":0,"forks_count":17,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-09T05:41:45.871Z","etag":null,"topics":["odoo","print"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcb30.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-18T07:56:21.000Z","updated_at":"2024-05-01T14:34:45.000Z","dependencies_parsed_at":"2022-09-04T07:53:25.881Z","dependency_job_id":null,"html_url":"https://github.com/mcb30/odoo-print","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mcb30/odoo-print","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcb30%2Fodoo-print","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcb30%2Fodoo-print/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcb30%2Fodoo-print/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcb30%2Fodoo-print/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcb30","download_url":"https://codeload.github.com/mcb30/odoo-print/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcb30%2Fodoo-print/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30247359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T05:41:50.788Z","status":"ssl_error","status_checked_at":"2026-03-08T05:41:39.075Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["odoo","print"],"created_at":"2024-11-27T15:44:17.163Z","updated_at":"2026-03-08T06:32:29.797Z","avatar_url":"https://github.com/mcb30.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Print directly to backend printers\n==================================\n\n[![Build Status](https://travis-ci.org/unipartdigital/odoo-print.svg?branch=master)](https://travis-ci.org/unipartdigital/odoo-print)\n\nThis module provides a ```print.printer``` model to represent printers\nconnected to the Odoo server.  This allows for backend code to send\nreports directly to a printer, rather than requiring the user to\ndownload a PDF to be printed manually.\n\nThe primary use case is for printing reports: this can be triggered in\nthe Python code via e.g.\n\n    Printer = self.env['print.printer']\n    Picking = self.env['stock.picking']\n    pick = Picking.search([('name', '=', 'PICK00009')])\n    Printer.spool_report(pick.ids, 'stock.report_deliveryslip')\n\nNote that ```spool_report()``` may be called on a specific printer or\ndirectly on the model.  If called directly on the model, the user's\ndefault printer (or system default printer) will be used.\n\nAnother common use case is to identify a printer by barcode and\nassociate it as the current user's default printer:\n\n    Printer = self.env['print.printer']\n    printer = Printer.search([('barcode', '=', 'PRNLAB02')])\n    printer.set_user_default()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcb30%2Fodoo-print","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcb30%2Fodoo-print","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcb30%2Fodoo-print/lists"}