Commit Graph

24 Commits

Author SHA1 Message Date
OCA-git-bot
81e91e0728 [BOT] post-merge updates 2024-11-04 11:59:07 +00:00
sergio-teruel
ef9de46896 [IMP] base_report_to_printer: Add printer option to launch reports in new thread 2024-10-28 14:32:51 +01:00
OCA-git-bot
2833a15bd0 [BOT] post-merge updates 2024-08-26 15:49:31 +00:00
David
cb493cd596 [IMP] base_report_to_printer: out of connection fallback to client
If the CUPS server isn't available the user won't be able to do anything
to print the report they need.

At last we can give them the chance to have a fallback behavior
downloading the document.

TT47134
2024-04-03 11:01:38 +02:00
OCA-git-bot
86c9f45fde [BOT] post-merge updates 2023-09-20 17:52:59 +00:00
OCA-git-bot
8a21ba8261 [UPD] README.rst 2023-09-03 15:56:00 +00:00
OCA-git-bot
74cdfab071 [UPD] README.rst 2022-12-15 17:28:00 +00:00
Alexandre Fayolle
0790d65015 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.
2022-12-14 09:13:22 +01:00
sebalix
d1822016a8 [MIG] base_report_to_printer: Print attachments wizard 2022-12-14 09:13:22 +01:00
Akim Juillerat
0414d9c453 [ADD] base_report_to_printer: Print attachments wizard 2022-12-14 09:13:22 +01:00
OCA-git-bot
86879abb91 [UPD] README.rst 2022-10-25 17:01:00 +00:00
matiasperalta1
c2bf59d2e8 [MIG] base_report_to_printer: Finish migration to 15.0 2022-09-21 13:02:31 -03:00
OCA-git-bot
364f3f29dc [UPD] README.rst 2022-03-03 13:40:25 +01:00
OCA-git-bot
9e320e6d24 [UPD] README.rst 2022-03-03 13:40:25 +01:00
Carlos Roca
eb9b5ac525 [IMP] base_report_to_printer: black, isort, prettier 2022-03-03 13:40:25 +01:00
Rod Schouteden
eb68f60237 Update base_report_to_printer/__manifest__.py
[13.0] [MIG] set correct website in manifest

Co-Authored-By: Raf Ven <raf.ven@dynapps.be>
2022-03-03 13:40:25 +01:00
Pedro M. Baeza
06b229c342 [FIX] .travis.yml: Update definition 2022-03-03 13:40:25 +01:00
Rod Schouteden
587f020bc3 [MIG] base_report_to_printer: Migration to 13.0 2022-03-03 13:40:25 +01:00
Graeme Gellatly
2dfca7adeb [WIP] Migrate base_report_to_printer to V12 2022-03-03 13:40:25 +01:00
Graeme Gellatly
7b0c679f33 [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
2022-03-03 13:40:25 +01:00
Sylvain GARANCHER
f61b1cc5c6 [MIG] base_report_to_printer: Migrate to v11.0 2022-03-03 13:40:25 +01:00
Sylvain Garancher
4a274dc202 [10.0][MIG] base_report_to_printer (#68)
* 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
2022-03-03 13:40:25 +01:00
Dave Lasley
2214ce2df5 [MIG] base_report_to_printer: Upgrade to v9 2022-03-03 13:40:25 +01:00
Guewen Baconnier
0831d14007 Do no longer returns a PDF when a report is printed
Instead, a notification is displayed to the user.
When report.get_pdf() is called on a report that must be printer,
it will print the report *and* returns the pdf, thus code that
calls directly report.get_pdf() will print the pdf on the printer
as expected.

Fixes #16
2022-03-03 13:40:25 +01:00