mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
* Set api.multi for action called as `object` on view * Merge syleam printers module into base_report_to_printer (#60) * [IMP] Updated unit tests * [FIX] Fixed renamed attributes * [FIX] Remove deleted fields * [IMP] Add printing.server and printing.job models * [IMP] Allow to cancel all jobs, enable, and disable printers * [IMP] Split the cups part of print_document into a new print_file method * [IMP] Updated cron job to run the action_update_jobs method * [ADD] Add a migration script to create a printing server from configuration * [MIG] Migrate base_report_to_printer to v10.0 Removed deprecated methods on printing.printer (replaced by methods on printing.server) * [IMP] Add wkhtmltopdf in travis configuration file * [FIX] base_report_to_printer: Fix Update Job Cron * Fix API issue with Update Job Cron ** Forward Port from 9.0 * [FIX] Fixed the res.users view The string attribute should not be used as a selector, because it is translatable. * [FIX] Fixed the print_document method of report The new API migration was made to @api.multi because of the "cr, uid, ids" signature, but "ids" was the ids of the records to print here, not the report's ids. Also, the new API version of "get_pdf" get directly the ids of the records to print in the standard module, not a recordset. * [FIX] UI is now (un)blocked only when using qweb-pdf reports in standard addons
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 ================= 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 behaviour 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 Installation ============ * Install PyCups - https://pypi.python.org/pypi/pycups Configuration ============= After installing enable the "Printing / Print User" option under access rights to give users the ability to view the print menu. Usage ===== To show all available printers for your server, use the `Settings/Configuration/Printing/Update Printers from CUPS` wizard. Then go to the user profile and set the users printing action and default printer. Caveat ------ The notification when a report is sent to a printer will not be displayed for the deprecated report types (RML, Webkit, ...). .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot :target: https://runbot.odoo-community.org/runbot/144/9.0 Known issues / Roadmap ====================== Bug Tracker =========== Bugs are tracked on `GitHub Issues <https://github.com/OCA/report-print-send/issues>`_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback. Credits ======= Images ------ * Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_. Contributors ------------ * Ferran Pegueroles <ferran@pegueroles.com> * Albert Cervera i Areny <albert@nan-tic.com> * Davide Corio <davide.corio@agilebg.com> * Lorenzo Battistini <lorenzo.battistini@agilebg.com> * Yannick Vaucher <yannick.vaucher@camptocamp.com> * Lionel Sausin <ls@numerigraphe.com> * Guewen Baconnier <guewen.baconnier@camptocamp.com> * Dave Lasley <dave@laslabs.com> * Sylvain Garancher <sylvain.garancher@syleam.fr> Maintainer ---------- .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org This module is maintained by the OCA. OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. To contribute to this module, please visit https://odoo-community.org.