Commit Graph

298 Commits

Author SHA1 Message Date
Pedro M. Baeza
c8244592b3 [FIX] base_report_to_printer: Remove migration script from previous version 2018-01-16 13:43:18 +01:00
OCA Git Bot
877d139b7c [UPD] addons table in README.md 2018-01-12 02:40:31 +01:00
Jairo Llopis
8b5c4f3fb0 [FIX] base_report_to_printer: Stateless tests (#122)
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.
2018-01-11 14:19:47 +01:00
OCA Transbot
44a1df2700 OCA Transbot updated translations from Transifex 2017-12-30 11:19:58 +01:00
OCA Transbot
717204ded5 OCA Transbot updated translations from Transifex 2017-12-09 10:38:52 +01:00
OCA Git Bot
756212a267 [UPD] addons table in README.md 2017-12-07 02:39:10 +01:00
Pedro M. Baeza
6d1609531d [FIX] printer_zpl2: Bump version 2017-12-06 13:09:48 +01:00
Pedro M. Baeza
5eadb01acc Merge pull request #91 from apertoso/10.0_recall_printer_conf
allow to avoid 'Recall last saved values' command
2017-12-06 13:09:10 +01:00
OCA Git Bot
7d84d576a0 [UPD] addons table in README.md 2017-10-03 02:41:01 +02:00
Dave Lasley
451ff2b8be Merge pull request #101 from gdgellatly/10.0
[FIX] Minor bugfixes
2017-10-02 15:43:39 -07:00
Graeme Gellatly
8766fc6983 [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
2017-10-03 10:37:03 +13:00
Pedro M. Baeza
04881c6950 [FIX] printer_zpl2: Bump version number
[skip ci]
2017-10-02 18:24:19 +02:00
Alexandre Fayolle
6d18a1425d Merge pull request #107 from OCA/moylop260-patch-1
[REF] .travis.yml: Using wkhtmltopdf version from MQT
2017-10-02 14:39:33 +02:00
Moises Lopez - https://www.vauxoo.com/
f1d1713fb7 [REF] .travis.yml: Using wkhtmltopdf version from MQT 2017-10-02 14:40:38 +02:00
OCA Git Bot
90a97ab165 [UPD] addons table in README.md 2017-08-27 02:38:46 +02:00
Pedro M. Baeza
4e1f826ba4 Merge pull request #95 from syleam/10.0-remove-dead-code
[REM] Removed dead code
2017-08-26 18:04:27 +02:00
Sylvain GARANCHER
a074ab4979 [FIX] Use an HttpCase test class to avoid locking the registry for HTTP threads loading during tests that need wkhtmltopdf 2017-08-26 09:19:20 +02:00
Sylvain GARANCHER
50675ef26b [REM] Removed dead code
The two monkey-patched method were not called anymore in any module
(standard or OCA), and are removed from the next version.
2017-08-25 16:04:17 +02:00
OCA Transbot
381db14bde OCA Transbot updated translations from Transifex 2017-07-15 09:27:36 +02:00
Sylvain Garancher
669862aa70 [FIX] printer_tray: Fix mocking in unit tests (#97)
The mocking was bad, and this bug has been revealed by the usage of mock 2.0.0
2017-07-12 16:47:23 -05:00
Yannick Vaucher
daa7070518 Merge pull request #92 from syleam/10.0-fix-update_jobs-decorator
[FIX] base_report_to_printer: A button method should be @api.multi
2017-07-11 11:14:47 +02:00
OCA Transbot
961a032bcd OCA Transbot updated translations from Transifex 2017-07-01 09:22:03 +02:00
Sylvain GARANCHER
fb73ad381d [FIX] base_report_to_printer: A button method should be @api.multi 2017-06-26 12:08:30 +02:00
Jos De Graeve
965905fa0e allow to avoid 'Recall last saved values' command
This command causes Godex printers in GZPL emulation not to
print the label, this might be a firmware bug
(tested on G500 Z1.00E )
2017-06-14 11:44:54 +02:00
Yannick Vaucher
c15f80057a Merge pull request #86 from blutecsolutions/patch-1
Update README.rst
2017-05-23 11:03:21 +02:00
OCA Transbot
029006738a OCA Transbot updated translations from Transifex 2017-05-13 08:21:48 +02:00
OCA Git Bot
c2f256591d [ADD] setup.py 2017-05-12 04:35:31 +02:00
OCA Git Bot
cf67d41ec9 [UPD] addons table in README.md 2017-05-12 02:34:54 +02:00
Dave Lasley
bbb8ca5d01 Merge pull request #81 from syleam/10.0-mig-printer_zpl2
[10.0] Migrate printer_zpl2 module
2017-05-11 08:39:21 -07:00
OCA Transbot
6e385cc974 OCA Transbot updated translations from Transifex 2017-05-01 23:55:38 +02:00
Eric @ Elico Corp
e750fe1fc2 Update README.rst 2017-05-01 17:23:41 +08:00
Sébastien LANGE
0328f5756a [MIG] Migrated printer_zpl2 to v10.0 2017-05-01 10:21:13 +02:00
BLUTEC™ Solutions
44db78b414 Update README.rst
Provided steps to installing PyCups
2017-05-01 08:16:21 +01:00
OCA Git Bot
f3392f50f5 [ADD] setup.py 2017-04-24 04:36:36 +02:00
OCA Git Bot
ff1d98f871 [UPD] addons table in README.md 2017-04-24 02:36:55 +02:00
Pedro M. Baeza
9080a2a954 Merge pull request #69 from syleam/10.0-migrate-printer_tray
[10.0][MIG] printer_tray
2017-04-23 11:40:24 +02:00
Sylvain GARANCHER
2522577067 [MIG] Migrate printer_tray to v10.0 2017-04-23 11:04:24 +02:00
Sylvain GARANCHER
90c6447a20 [FIX] printer_tray: Allow to call print_option with no report 2017-04-23 11:00:30 +02:00
Sylvain GARANCHER
104b531d1f Migrate printer_tray to v9.0 2017-04-23 11:00:29 +02:00
Sylvain GARANCHER
a7a0761d39 Fixed lint errors 2017-04-23 11:00:29 +02:00
Sylvain GARANCHER
e59f1e4c64 printer_tray: Add unit tests 2017-04-23 11:00:29 +02:00
OCA Transbot
3cb350c945 OCA Transbot updated translations from Transifex 2017-04-23 11:00:26 +02:00
Maik Steinfeld
b6e7a78529 FIX: print with copies and installed printer_tray module
Added new Argument to printer_tray also.
2017-04-23 10:59:06 +02:00
Yannick Vaucher
121c2b10e2 FIX typo in previous merge 2017-04-23 10:59:06 +02:00
vrenaville
9c12be1f30 typo, tray_id doesn't exist only printer_tray_id exist on the object 2017-04-23 10:59:06 +02:00
Sylvain Garancher
d39d4c4621 [ADD] Add printer_zpl2 module (#66)
* [FIX] printer_tray: Allow to call print_option with no report

* [ADD] Add printer_zpl2 module
2017-04-13 11:33:33 +02:00
Angel Moya - PESOL
c52755ee47 [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-11 10:31:32 -07:00
OCA Git Bot
d6b238e939 [ADD] setup.py 2017-04-06 04:36:45 +02:00
OCA Git Bot
58bc004461 [UPD] addons table in README.md 2017-04-06 02:37:12 +02:00
Sylvain Garancher
3f3d06a004 [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
2017-04-05 09:06:16 -07:00