mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[IMP] base_report_to_printer: pre-commit auto fixes
This commit is contained in:
13
base_report_to_printer/readme/CONFIGURE.md
Normal file
13
base_report_to_printer/readme/CONFIGURE.md
Normal file
@@ -0,0 +1,13 @@
|
||||
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.
|
||||
|
||||
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.
|
||||
@@ -1,13 +0,0 @@
|
||||
To configure this module, you need to:
|
||||
|
||||
#. Enable the "Printing / Print User" option under access
|
||||
rights to give users the ability to view the print menu.
|
||||
|
||||
|
||||
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.
|
||||
17
base_report_to_printer/readme/CONTRIBUTORS.md
Normal file
17
base_report_to_printer/readme/CONTRIBUTORS.md
Normal file
@@ -0,0 +1,17 @@
|
||||
- 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>\>
|
||||
- Jairo Llopis \<<jairo.llopis@tecnativa.com>\>
|
||||
- Graeme Gellatly \<<graeme@o4sb.com>\>
|
||||
- Rod Schouteden \<<rod@schout-it.be>\>
|
||||
- Alexandre Fayolle \<<alexandre.fayolle@camptocamp.com>\>
|
||||
- Matias Peralta \<<mnp@adhoc.com.ar>\>
|
||||
- Hughes Damry \<<hughes.damry@acsone.eu>\>
|
||||
- Akim Juillerat \<<akim.juillerat@camptocamp.com>\>
|
||||
- Jacques-Etienne Baudoux (BCIM) \<<je@bcim.be>\>
|
||||
@@ -1,17 +0,0 @@
|
||||
* 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>
|
||||
* Jairo Llopis <jairo.llopis@tecnativa.com>
|
||||
* Graeme Gellatly <graeme@o4sb.com>
|
||||
* Rod Schouteden <rod@schout-it.be>
|
||||
* Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
|
||||
* Matias Peralta <mnp@adhoc.com.ar>
|
||||
* Hughes Damry <hughes.damry@acsone.eu>
|
||||
* Akim Juillerat <akim.juillerat@camptocamp.com>
|
||||
* Jacques-Etienne Baudoux (BCIM) <je@bcim.be>
|
||||
@@ -1,9 +1,12 @@
|
||||
This module allows users to send reports to a printer attached to the server.
|
||||
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 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
|
||||
- Send to Client is the default behaviour providing you a downloadable
|
||||
PDF
|
||||
- Send to Printer prints the report on selected printer
|
||||
|
||||
It detects trays on printers installation plus permits to select the
|
||||
paper source on which you want to print directly.
|
||||
@@ -18,7 +21,7 @@ preprinted paper such as payment slip.
|
||||
|
||||
Settings can be configured:
|
||||
|
||||
* globally
|
||||
* per user
|
||||
* per report
|
||||
* per user and report
|
||||
- globally
|
||||
- per user
|
||||
- per report
|
||||
- per user and report
|
||||
7
base_report_to_printer/readme/HISTORY.md
Normal file
7
base_report_to_printer/readme/HISTORY.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## 13.0.1.0.0 (2019-09-30)
|
||||
|
||||
- \[RELEASE\] Port from V12.
|
||||
|
||||
## 12.0.1.0.0 (2018-02-04)
|
||||
|
||||
- \[RELEASE\] Port from V11.
|
||||
@@ -1,9 +0,0 @@
|
||||
13.0.1.0.0 (2019-09-30)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* [RELEASE] Port from V12.
|
||||
|
||||
12.0.1.0.0 (2018-02-04)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* [RELEASE] Port from V11.
|
||||
10
base_report_to_printer/readme/INSTALL.md
Normal file
10
base_report_to_printer/readme/INSTALL.md
Normal file
@@ -0,0 +1,10 @@
|
||||
To install this module, you need to:
|
||||
|
||||
1. Install PyCups - <https://pypi.python.org/pypi/pycups>
|
||||
|
||||
``` bash
|
||||
sudo apt-get install cups
|
||||
sudo apt-get install libcups2-dev
|
||||
sudo apt-get install python3-dev
|
||||
sudo pip install pycups
|
||||
```
|
||||
@@ -1,10 +0,0 @@
|
||||
To install this module, you need to:
|
||||
|
||||
#. Install PyCups - https://pypi.python.org/pypi/pycups
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo apt-get install cups
|
||||
sudo apt-get install libcups2-dev
|
||||
sudo apt-get install python3-dev
|
||||
sudo pip install pycups
|
||||
15
base_report_to_printer/readme/USAGE.md
Normal file
15
base_report_to_printer/readme/USAGE.md
Normal file
@@ -0,0 +1,15 @@
|
||||
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.
|
||||
@@ -1,13 +0,0 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user