Commit Graph

92 Commits

Author SHA1 Message Date
OCA-git-bot
ccbb5b29bb base_report_to_printer 16.0.1.1.2 2024-03-08 10:00:40 +01:00
Alexis de Lattre
d7e1fcc5b6 base_report_to_printer: fix views
The views were not adapted to v16 during the v16 migration. This commit
fixes this.
2024-03-08 10:00:40 +01:00
OCA-git-bot
64271149cf base_report_to_printer 16.0.1.1.1 2024-03-08 10:00:40 +01:00
Guille
be95ebacff [16.0][FIX] base_report_to_printer: Expected singleton
Fixes https://github.com/OCA/report-print-send/issues/314
2024-03-08 10:00:40 +01:00
Weblate
581fa62b09 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: report-print-send-16.0/report-print-send-16.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-16-0/report-print-send-16-0-base_report_to_printer/
2024-03-08 10:00:40 +01:00
OCA-git-bot
025dc1d560 base_report_to_printer 16.0.1.1.0 2024-03-08 10:00:40 +01:00
OCA-git-bot
4d14c4900b [UPD] README.rst 2024-03-08 10:00:40 +01:00
oca-ci
98e5c3052f [UPD] Update base_report_to_printer.pot 2024-03-08 10:00:40 +01:00
Sébastien Alix
f615f79c20 base_report_to_printer: fix translation-positional-used 2024-03-08 10:00:40 +01:00
Stephane Mangin
fb725207aa FIX bad field used for labeling at print 2024-03-08 10:00:40 +01:00
sonhd
c97706d549 [ADD] access right for wizrard print attachment and fix trans format 2024-03-08 10:00:40 +01:00
Alexandre Fayolle
96153bc6b1 fix(#259): handle case of print attachment wizard
The fix in #259 only worked for reports being printed at generation
of the PDF. This PR handles sending an attachment to a printer through
the Print Attachment wizard.

Also clarify the configuration section of the README.
2024-03-08 10:00:40 +01:00
sebalix
2c05ac9f8b [MIG] base_report_to_printer: Print attachments wizard 2024-03-08 10:00:40 +01:00
Akim Juillerat
1679e9c725 [ADD] base_report_to_printer: Print attachments wizard 2024-03-08 10:00:40 +01:00
Denis Roussel
3933d46f85 [14.0][IMP] base_report_to_printer: Add tests for text documents 2024-03-08 10:00:40 +01:00
Denis Roussel
2246cba708 [14.0][FIX] base_report_to_printer: Manage text print_document() 2024-03-08 10:00:40 +01:00
Denis Roussel
ba9d89622d [14.0][IMP] base_report_to_printer: Add Text render document to printer 2024-03-08 10:00:40 +01:00
Weblate
7731bb5f40 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: report-print-send-16.0/report-print-send-16.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-16-0/report-print-send-16-0-base_report_to_printer/
2024-03-08 10:00:40 +01:00
OCA-git-bot
39aa3de5e8 [UPD] README.rst 2024-03-08 10:00:40 +01:00
oca-ci
910a0d8b61 [UPD] Update base_report_to_printer.pot 2024-03-08 10:00:40 +01:00
hda
c8cd3b8116 [MIG] base_report_to_printer: Migration to 16.0 2024-03-08 10:00:40 +01:00
Weblate
877aaa99df Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: report-print-send-15.0/report-print-send-15.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-15-0/report-print-send-15-0-base_report_to_printer/
2024-03-08 10:00:40 +01:00
OCA-git-bot
6bb2b9f27b [UPD] README.rst 2024-03-08 10:00:40 +01:00
oca-ci
189fd5770a [UPD] Update base_report_to_printer.pot 2024-03-08 10:00:40 +01:00
matiasperalta1
2edb5504e9 [MIG] base_report_to_printer: Finish migration to 15.0 2024-03-08 10:00:40 +01:00
David Montull
6caed6ace0 [15.0][MIG] base_report_to_printer: Migration to 15.0 2024-03-08 10:00:40 +01:00
David Montull
3a22073a87 [IMP] base_report_to_printer: black, isort, prettier 2024-03-08 10:00:40 +01:00
OCA Transbot
535e2c9d5d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: report-print-send-14.0/report-print-send-14.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-14-0/report-print-send-14-0-base_report_to_printer/
2024-03-08 10:00:40 +01:00
OCA-git-bot
182c348ae4 base_report_to_printer 14.0.2.0.0 2024-03-08 10:00:40 +01:00
oca-travis
eb45718d2d [UPD] Update base_report_to_printer.pot 2024-03-08 10:00:40 +01:00
Florent de Labarre
2dafe0f5e3 [IMP] base_report_to_printer: allow connect to protected server 2024-03-08 10:00:40 +01:00
OCA Transbot
a1c36f4d16 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: report-print-send-14.0/report-print-send-14.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-14-0/report-print-send-14-0-base_report_to_printer/
2024-03-08 10:00:40 +01:00
OCA-git-bot
ecfa2cd42c base_report_to_printer 14.0.1.2.0 2024-03-08 10:00:40 +01:00
oca-travis
d1ca70a9c5 [UPD] Update base_report_to_printer.pot 2024-03-08 10:00:40 +01:00
Simon S
51a3d2c0c9 Translated using Weblate (Swedish)
Currently translated at 95.0% (134 of 141 strings)

Translation: report-print-send-14.0/report-print-send-14.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-14-0/report-print-send-14-0-base_report_to_printer/sv/
2024-03-08 10:00:40 +01:00
Simon S
579e5c71ea Added translation using Weblate (Swedish) 2024-03-08 10:00:40 +01:00
Denis Roussel
22b4e5e5ae [14.0][IMP] base_report_to_printer: Add Raw test page printing 2024-03-08 10:00:40 +01:00
OCA-git-bot
fce232ff1c base_report_to_printer 14.0.1.1.1 2024-03-08 10:00:40 +01:00
Denis Roussel
06a8c9c669 [14.0][IMP] base_report_to_printer: Remove deprecated Warning 2024-03-08 10:00:40 +01:00
Denis Roussel
e96023cf51 [14.0][IMP] base_report_to_printer: Add test page printing 2024-03-08 10:00:40 +01:00
OCA-git-bot
c3835bfdc5 base_report_to_printer 14.0.1.1.0 2024-03-08 10:00:40 +01:00
OCA-git-bot
f7aba3f5e3 [UPD] README.rst 2024-03-08 10:00:40 +01:00
Lois Rilo
d90d09be2d [FIX] base_report_to_printer: error printing in external network.
Error code: 1030, 'The printer or class does not exist.')".
An explicit call to `setServer` and `setPort` fixed the issue.
(see https://github.com/OpenPrinting/pycups/issues/30)

Also, added serve_id to printer views
2024-03-08 10:00:40 +01:00
Alexandre Fayolle
b77718bb7c [IMP] 14.0 base_report_to_printer: improve job title
instead of sending a temporary random file name as the title of the job,
use the report file name. Since this is not displayed by default by
cups, document how to configure the CUPS server so that the information
can be displayed.

Clean up the temporary file after printing to avoid cluttering the
server in the long run.
2024-03-08 10:00:40 +01:00
Guewen Baconnier
002c8421cd [IMP] base_report_to_printer: Avoid writing on printing printers/jobs if no change
The cron (by default) every minute, updates the printing.printer and
printing.job records from the cups server. The field values rarely
change, so we can prevent many updates in database.

Also, writing on `printing_printer.server_id` triggers another update
on the printing.job records as the model has a stored related field.
2024-03-08 10:00:40 +01:00
OCA-git-bot
10ed2b6d3f [UPD] README.rst 2024-03-08 10:00:40 +01:00
oca-travis
a48f928dce [UPD] Update base_report_to_printer.pot 2024-03-08 10:00:40 +01:00
Carlos Roca
c01450311d [FIX] base_report_to_printer: Fixed tests 2024-03-08 10:00:40 +01:00
Alexis de Lattre
145d231449 [MIG] base_report_to_printer: Migration to v14 2024-03-08 10:00:40 +01:00
Carlos Roca
d03814d170 [IMP] base_report_to_printer: black, isort, prettier 2024-03-08 10:00:40 +01:00