diff --git a/README.md b/README.md index cfbea2e2ceb..6d76e94fa98 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,11 @@ TODO: add repo description. [//]: # (addons) -This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools. +Available addons +---------------- +addon | version | maintainers | summary +--- | --- | --- | --- +[base_report_to_printer](base_report_to_printer/) | 17.0.1.0.0 | | Report to printer [//]: # (end addons) diff --git a/base_report_to_printer/README.rst b/base_report_to_printer/README.rst index a4697ed0874..c2e702732d3 100644 --- a/base_report_to_printer/README.rst +++ b/base_report_to_printer/README.rst @@ -7,7 +7,7 @@ Report to printer !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:322a45d25c54084b76abe4f6aa9f5f11bc05c44aa07e1f02c0c4fabb0da890a7 + !! source digest: sha256:f3d095976140559668814beeb5bcb40a206e66f014b87daca79b0d4e9fbd7eff !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/base_report_to_printer/static/description/index.html b/base_report_to_printer/static/description/index.html index ac882d06f7a..6f2c54db602 100644 --- a/base_report_to_printer/static/description/index.html +++ b/base_report_to_printer/static/description/index.html @@ -1,777 +1,535 @@ - + - - - - Report to printer - - - -
-

Report to printer

- - -

- - Beta - - - License: AGPL-3 - - - OCA/report-print-send - - - Translate me on Weblate - - - Try me on Runboat - -

-

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. -

- -

It detects trays on printers installation plus permits to select the - paper source on which you want to print directly. -

-

Report behaviour is defined by settings.

-

You will find this option on default user config, on default report - config and on specific config per user per report. -

-

This allows you to dedicate a specific paper source for example for - preprinted paper such as payment slip. -

-

Settings can be configured:

- -

- Table of contents -

-
- -
-
-

- Installation -

-

To install this module, you need to:

-
    -
  1. Install PyCups - - - https://pypi.python.org/pypi/pycups - -
  2. -
-
-                    sudoapt-getinstallcups
-                sudoapt-getinstall
-                    libcups2-dev
-                sudoapt-getinstall
-                    python3-dev
-                sudopipinstallpycups
-                
-
-
-

- Configuration -

-

To configure this module, you need to:

-
    -
  1. Enable the “Printing / Print User” option under access rights to give - users the ability to view the print menu. -
  2. -
-

The jobs will be sent to the printer with a name matching the - print_report_name of the report (truncated at 80 characters). By default - this will not be displayed by CUPS web interface or in Odoo. To see this - information, you need to change the configuration of your CUPS server - and set the JobPrivateValue directive to “none” (or some other list of - values which does not include “job-name”) , and reload the server. See - cupsd.conf(5) < - https://www.cups.org/doc/man-cupsd.conf.html> for - details. -

-
-
-

- Usage -

-

Guidelines for use:

-
-
    -
  • To update the CUPS printers in - Settings > Printing > Update - Printers from CUPS - -
  • -
  • To print a report on a specific printer or tray, you can change - these in - Settings > Printing > Reports - to define default - behaviour. -
  • -
  • To print a report on a specific printer and/or tray for a user, - you can change these in - Settings > Printing > Reports - in - Specific actions per user -
  • -
  • Users may also select a default action, printer or tray in their - preferences. -
  • -
-
-

When no tray is configured for a report and a user, the default tray - setup on the CUPS server is used. -

-
-
-

- Changelog -

-
-

- 13.0.1.0.0 (2019-09-30) -

-
    -
  • [RELEASE] Port from V12.
  • -
-
-
-

- 12.0.1.0.0 (2018-02-04) -

-
    -
  • [RELEASE] Port from V11.
  • -
-
-
-
-

- Bug Tracker -

-

Bugs are tracked on GitHub Issues. - In case of trouble, please check there if your issue has already been reported. - If you spotted it first, help us to smash it by providing a detailed and welcomed - - feedback. -

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

- Credits -

-
-

- Authors -

-
    -
  • Agile Business Group & Domsense
  • -
  • Pegueroles SCP
  • -
  • NaN
  • -
  • LasLabs
  • -
  • Camptocamp
  • -
  • Open for Small Business Ltd
  • -
-
-
-

- Contributors -

- -
-
-

- Maintainers -

-

This module is maintained by the OCA.

- - Odoo Community Association - -

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. -

-

This module is part of the - - OCA/report-print-send - - project on GitHub. -

-

You are welcome to contribute. To learn how please visit - https://odoo-community.org/page/Contribute. -

-
-
-
- + + + +Report to printer + + + +
+

Report to printer

+ + +

Beta License: AGPL-3 OCA/report-print-send Translate me on Weblate Try me on Runboat

+

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.

+ +

It detects trays on printers installation plus permits to select the +paper source on which you want to print directly.

+

Report behaviour is defined by settings.

+

You will find this option on default user config, on default report +config and on specific config per user per report.

+

This allows you to dedicate a specific paper source for example for +preprinted paper such as payment slip.

+

Settings can be configured:

+ +

Table of contents

+
+ +
+
+

Installation

+

To install this module, you need to:

+
    +
  1. Install PyCups - https://pypi.python.org/pypi/pycups
  2. +
+
+sudo apt-get install cups
+sudo apt-get install libcups2-dev
+sudo apt-get install python3-dev
+sudo pip install pycups
+
+
+
+

Configuration

+

To configure this module, you need to:

+
    +
  1. Enable the “Printing / Print User” option under access rights to give +users the ability to view the print menu.
  2. +
+

The jobs will be sent to the printer with a name matching the +print_report_name of the report (truncated at 80 characters). By default +this will not be displayed by CUPS web interface or in Odoo. To see this +information, you need to change the configuration of your CUPS server +and set the JobPrivateValue directive to “none” (or some other list of +values which does not include “job-name”) , and reload the server. See +cupsd.conf(5) <https://www.cups.org/doc/man-cupsd.conf.html> for +details.

+
+
+

Usage

+

Guidelines for use:

+
+
    +
  • To update the CUPS printers in Settings > Printing > Update +Printers from CUPS
  • +
  • To print a report on a specific printer or tray, you can change +these in Settings > Printing > Reports to define default +behaviour.
  • +
  • To print a report on a specific printer and/or tray for a user, +you can change these in Settings > Printing > Reports in +Specific actions per user
  • +
  • Users may also select a default action, printer or tray in their +preferences.
  • +
+
+

When no tray is configured for a report and a user, the default tray +setup on the CUPS server is used.

+
+
+

Changelog

+
+

13.0.1.0.0 (2019-09-30)

+
    +
  • [RELEASE] Port from V12.
  • +
+
+
+

12.0.1.0.0 (2018-02-04)

+
    +
  • [RELEASE] Port from V11.
  • +
+
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Agile Business Group & Domsense
  • +
  • Pegueroles SCP
  • +
  • NaN
  • +
  • LasLabs
  • +
  • Camptocamp
  • +
  • Open for Small Business Ltd
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

This module is part of the OCA/report-print-send project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ diff --git a/setup/_metapackage/pyproject.toml b/setup/_metapackage/pyproject.toml new file mode 100644 index 00000000000..773e06c5cb1 --- /dev/null +++ b/setup/_metapackage/pyproject.toml @@ -0,0 +1,11 @@ +[project] +name = "odoo-addons-oca-report-print-send" +version = "17.0.20240308.0" +dependencies = [ + "odoo-addon-base_report_to_printer>=17.0dev,<17.1dev", +] +classifiers=[ + "Programming Language :: Python", + "Framework :: Odoo", + "Framework :: Odoo :: 17.0", +]