# -*- coding: utf-8 -*- ############################################################################## # # Copyright (c) 2007 Ferran Pegueroles # Copyright (c) 2009 Albert Cervera i Areny # Copyright (C) 2011 Agile Business Group sagl () # Copyright (C) 2011 Domsense srl () # Copyright (C) 2013 Camptocamp () # All Rights Reserved # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # ############################################################################## { 'name': "Report to printer", 'version': '0.2', 'category': 'Generic Modules/Base', 'description': """ Report to printer ----------------- This module allows users to send reports to a printer attached to the server. It adds an optional behaviour on reports to send it directly to a printer. * `Send to Client` is the default behavious providing you a downloadable PDF * `Send to Printer` prints the report on selected printer Report behaviour is defined by settings. Settings can be configured: * globaly * per user * per report * per user and report * per company and report * per user/company and report After installing enable the "Printing / Print Operator" option under access rights to give users the ability to view the print menu. To show all available printers for your server, uses `Settings/Configuration/Printing/Update Printers from CUPS` wizard. Then goto the user profile and set the users printing action and default printer. Dependencies ------------ This module requires pycups https://pypi.python.org/pypi/pycups Contributors ------------ * Ferran Pegueroles * Albert Cervera i Areny * Davide Corio * Lorenzo Battistini * Yannick Vaucher * Lionel Sausin """, 'author': "Agile Business Group & Domsense, Pegueroles SCP, NaN," "Odoo Community Association (OCA)", 'website': 'http://www.agilebg.com', 'license': 'AGPL-3', "depends": ['base', 'base_calendar'], 'data': [ 'security/security.xml', 'printing_data.xml', 'printing_view.xml', 'wizard/update_printers.xml', ], 'installable': True, 'auto_install': False, 'application': True, 'external_dependencies': { 'python': ['cups'] } }