Commit Graph

68 Commits

Author SHA1 Message Date
Denis Roussel
aed6d2cb17 [14.0][FIX] base_report_to_printer: Don't use safe_eval as module 2022-04-07 09:03:37 +02:00
oca-git-bot
29c21d455c [IMP] update dotfiles [ci skip] 2022-03-31 17:22:14 +02:00
OCA Transbot
383c767697 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/
2022-02-22 18:33:22 +00:00
OCA-git-bot
15f8556416 base_report_to_printer 14.0.2.0.0 2022-02-22 18:33:10 +00:00
oca-travis
cad8a99cf1 [UPD] Update base_report_to_printer.pot 2022-02-22 18:29:25 +00:00
Florent de Labarre
f3ddfea913 [IMP] base_report_to_printer: allow connect to protected server 2022-02-21 21:06:04 +01:00
OCA Transbot
da2ea979d1 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/
2022-02-17 19:58:54 +00:00
OCA-git-bot
4a5d96440b base_report_to_printer 14.0.1.2.0 2022-02-17 19:58:43 +00:00
oca-travis
ebd90b9e8d [UPD] Update base_report_to_printer.pot 2022-02-17 19:46:19 +00:00
OCA-git-bot
f5f7350750 Merge PR #266 into 14.0
Signed-off-by dreispt
2022-02-17 19:43:02 +00:00
Simon S
ad81d4a29b 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/
2022-01-10 14:39:54 +00:00
Simon S
19963ec199 Added translation using Weblate (Swedish) 2022-01-10 12:19:51 +00:00
Denis Roussel
e13c1f9e73 [14.0][IMP] base_report_to_printer: Add Raw test page printing 2021-12-20 10:45:26 +01:00
OCA-git-bot
d17bd96fcd base_report_to_printer 14.0.1.1.1 2021-12-11 09:36:53 +00:00
Denis Roussel
40bbbfa95b [14.0][IMP] base_report_to_printer: Remove deprecated Warning 2021-12-09 17:52:08 +01:00
Denis Roussel
be0f98be39 [14.0][IMP] base_report_to_printer: Add test page printing 2021-12-09 17:39:46 +01:00
OCA-git-bot
8f8604c378 base_report_to_printer 14.0.1.1.0 2021-12-02 11:02:07 +00:00
OCA-git-bot
d276f81125 [UPD] README.rst 2021-12-02 11:02:06 +00:00
OCA-git-bot
6f1ba7259b Merge PR #261 into 14.0
Signed-off-by gurneyalex
2021-12-02 10:44:15 +00:00
Lois Rilo
0acffdb718 [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
2021-11-16 16:28:10 +01:00
Alexandre Fayolle
d572938c70 [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.
2021-11-09 16:26:39 +01:00
Guewen Baconnier
f48a70ed61 [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.
2021-02-08 19:53:33 +01:00
OCA-git-bot
2d4c64e939 [UPD] README.rst 2021-01-13 11:09:34 +00:00
oca-travis
99b3b36a4a [UPD] Update base_report_to_printer.pot 2021-01-13 11:03:17 +00:00
Carlos Roca
943c59b2be [FIX] base_report_to_printer: Fixed tests 2021-01-12 16:59:11 +01:00
Alexis de Lattre
89d3a6c564 [MIG] base_report_to_printer: Migration to v14 2021-01-12 10:50:11 +01:00
Carlos Roca
fd846c5aab [IMP] base_report_to_printer: black, isort, prettier 2021-01-12 09:33:27 +01:00
Jaime Arroyo
44ab7526ef [IMP] base_report_to_printer: archive printers 2021-01-12 09:31:45 +01:00
Ignacio Buioli
f9787878ab Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (141 of 141 strings)

Translation: report-print-send-13.0/report-print-send-13.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-13-0/report-print-send-13-0-base_report_to_printer/es_AR/
2021-01-12 09:31:45 +01:00
Ignacio Buioli
9adcf1f93a Added translation using Weblate (Spanish (Argentina)) 2021-01-12 09:31:45 +01:00
Florian Pose
d4f3510b28 Added job state 'cups-filter-crashed'.
Missing state caused periodic backtraces in the logs.
2021-01-12 09:31:45 +01:00
Rod Schouteden
543ab4ec62 Update base_report_to_printer/__manifest__.py
[13.0] [MIG] set correct website in manifest

Co-Authored-By: Raf Ven <raf.ven@dynapps.be>
2021-01-12 09:31:45 +01:00
Pedro M. Baeza
226d4b2c31 [FIX] .travis.yml: Update definition 2021-01-12 09:31:45 +01:00
Rod Schouteden
b1103c7b6d [MIG] base_report_to_printer: Migration to 13.0 2021-01-12 09:31:45 +01:00
Graeme Gellatly
32352977ed [WIP] Migrate base_report_to_printer to V12 2021-01-12 09:31:45 +01:00
Enric Tobella
320893747f Translated using Weblate (Spanish)
Currently translated at 99.3% (139 of 140 strings)

Translation: report-print-send-11.0/report-print-send-11.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-11-0/report-print-send-11-0-base_report_to_printer/es/
2021-01-12 09:31:45 +01:00
Maxime Chambreuil
cee83e0380 [FIX] Group inheritance 2021-01-12 09:31:45 +01:00
Oscar Ulises Garza Cordova
f280f844c8 [FIX][base_report_to_printer] - behaviour to print the report succesfully. 2021-01-12 09:31:45 +01:00
Enric Tobella
b1652beeda [FIX] missing super declaration 2021-01-12 09:31:45 +01:00
Bhavesh Odedra
9eb7cc9b7c [FIX] Permission issue 2021-01-12 09:31:45 +01:00
Sylvain GARANCHER
750537c34a [FIX] Allow to generate printing options without a report 2021-01-12 09:31:45 +01:00
Yannick Vaucher
7dd9ead470 Bump base_report_to_printer version to 11.0.2.1.0 2021-01-12 09:31:45 +01:00
Jairo Llopis
cf9fb7986b [FIX] base_report_to_printer: Stateless tests (#123)
If the test was run in a database with the `account` module installed, they were failing for 2 reasons:

- It was searching for the first report it could find, with the first 5 records to report. This made it load the `account.report_agedpartnerbalance` report, which caused a fake `TypeError: 'NoneType' object has no attribute '__getitem__'` error.
- It was running tests without loading the full module graph, thus not getting the default value for the new required `invoice_warn` field.

Now tests are run in `post_install` mode to load full module graph, and they use stateless data.
2021-01-12 09:31:45 +01:00
Florent de Labarre
bb0b8c0edb FIX view 2021-01-12 09:31:45 +01:00
Graeme Gellatly
b0cc27186c [WIP] Commit before rebase on latest #109 for user and view updates
Migration of printer_tray to v11 and integration with base_report_to_printer
2021-01-12 09:31:45 +01:00
Sylvain GARANCHER
a4b2721166 [MIG] base_report_to_printer: Migrate to v11.0 2021-01-12 09:31:45 +01:00
Graeme Gellatly
b6700501e9 [FIX] Minor bugfixes
Printer Tray isn't an app
Base Report To printer ir.actions.report.xml view xpath error and missing page name
Put to before security as security tab doesn't do much and if this module is installed it should be the hero page
2021-01-12 09:31:45 +01:00
Sylvain GARANCHER
b84e683294 [FIX] base_report_to_printer: A button method should be @api.multi 2021-01-12 09:31:45 +01:00
BLUTEC™ Solutions
81b86b5372 Update README.rst
Provided steps to installing PyCups
2021-01-12 09:31:45 +01:00
Angel Moya - PESOL
6eb490f639 [10] FIX format parameter (#84)
* FIX format parameter

To be able to print files in raw format it's needed to set this parameter.

Previous code was not able to print raw files, but it didn't get error because 'format' used on line 107 is assumed as a format funtion, because format parameter was not on this scope.

* FIX pep8
2021-01-12 09:31:45 +01:00