Commit Graph

8 Commits

Author SHA1 Message Date
Angel Moya - PESOL
d0cb8b045d [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
2017-04-20 17:28:38 +02:00
Sylvain GARANCHER
7422e99933 [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.
2017-02-23 18:03:55 +01:00
Ted Salmon
95344636cd [FIX] base_report_to_printer: Fix Update Job Cron (#73)
* Fix API issue with Update Job Cron
2016-12-28 12:36:41 -06:00
Sylvain Garancher
903802caf9 [9.0] 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
2016-11-08 15:02:46 -08:00
Dave Lasley
4e92ecddbe [FIX] base_report_to_printer: Unify logger import 2016-07-11 22:12:56 -07:00
Dave Lasley
6ab2f115be [FIX] base_report_to_printer: Minor fixes
* Migrate print_document method to v8 api exclusively
* Use api.multi on _can_print_report
* Simplify printing_printer description
* Simplify noupdate declaration
2016-07-08 11:26:10 -07:00
Dave Lasley
8e896af6a9 [IMP] base_report_to_printer: Add test coverage
* Add test coverage
* Minor touch ups in wizard
* Prefer UserError to Warning
2016-07-07 18:14:28 -07:00
Dave Lasley
4b080d7a63 [MIG] base_report_to_printer: Upgrade to v9 2016-07-04 14:58:46 -07:00