Commit Graph

200 Commits

Author SHA1 Message Date
Yannick Vaucher
a2ee4b8bbf Bump base_report_to_printer version to 11.0.2.1.0 2018-02-02 17:56:39 +01:00
Yannick Vaucher
c262cdfd44 Merge pull request #130 from fmdl/fix-view-base-printer
[FIX] base_report_to_printer: <sheet> are not in correct place
2018-02-02 17:55:04 +01:00
OCA Transbot
41ff2732c3 OCA Transbot updated translations from Transifex 2018-01-27 11:33:47 +01:00
Jairo Llopis
18b71b9c14 [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.
2018-01-19 18:22:37 +01:00
Florent de Labarre
9922f57374 FIX view 2018-01-14 19:56:10 +01:00
OCA Transbot
1dfbdaa1a0 OCA Transbot updated translations from Transifex 2017-12-30 11:20:20 +01:00
OCA Git Bot
69f8b1d178 [ADD] setup.py 2017-12-19 04:36:08 +01:00
Yannick Vaucher
36a028885d Merge pull request #110 from gdgellatly/11.0-printer-tray
[11.0][MIG] base_report_to_printer + printer tray: Merged together
2017-12-18 13:48:20 +01:00
Graeme Gellatly
9e02139e71 [FIX] Fix the javascript calls 2017-12-14 22:17:54 +13:00
Graeme Gellatly
506debb541 [FIX] Runbot error, try new cron code, plus @yajo review cleanup 2017-12-14 00:07:25 +13:00
Graeme Gellatly
cc8e61d558 Merge branch '11.0-refactor-options' into 11.0-printer-tray
# Conflicts:
#	base_report_to_printer/models/ir_actions_report.py
#	base_report_to_printer/models/printing_printer.py
#	base_report_to_printer/tests/test_ir_actions_report.py
#	base_report_to_printer/tests/test_printing_printer.py
#	base_report_to_printer/views/printing_report.xml
#	base_report_to_printer/views/res_users.xml
2017-12-06 21:43:35 +13:00
Graeme Gellatly
21371f1663 [PORT] Finalize move of printer_tray to base_report_to_printer,
fix tests as report param is not a string but recordset
2017-12-06 21:35:18 +13:00
Graeme Gellatly
b63eef0453 [PORT] Finalize move of printer_tray to base_report_to_printer,
fix tests as report param is not a string but recordset
2017-10-09 02:58:41 +13:00
Graeme Gellatly
0d0acbc096 [FIX] Set back old tray behaviour to take user or report default if tray not set on action - update tests for printer tray to new determinant location 2017-10-09 01:58:26 +13:00
Graeme Gellatly
57bd6a112e [To FIX] Hackish fix to test, needs to be done properly as behaviour is now part of the call to report. 2017-10-08 20:46:13 +13:00
Graeme Gellatly
142cdfbb20 [FIX] Update tests to new return signature of behaviour 2017-10-08 20:31:13 +13:00
Graeme Gellatly
4375c7bc2f [REF] Refactor the way print options are defined and sent. 2017-10-08 19:41:57 +13:00
OCA Git Bot
ca109ff5ab [ADD] setup.py 2017-10-07 16:51:25 +02:00
Graeme Gellatly
f70720a410 [PORT] Finalize move of printer_tray to base_report_to_printer,
fix tests as report param is not a string but recordset
2017-10-06 18:44:53 +13:00
Graeme Gellatly
d6500e4bfe [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
2017-10-06 01:16:33 +13:00
Sylvain GARANCHER
61cf341565 [IMP] Allow users to define their default behaviour and printer 2017-10-05 12:14:11 +02:00
Graeme Gellatly
4dcf26232d [IMP] Minor usability fix, order trays alphabetically, name xml groups 2017-10-05 13:17:04 +13:00
Graeme Gellatly
8bfea53fec [PORT] Printer Tray to V11 2017-10-05 13:11:51 +13:00
Graeme Gellatly
a251376768 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-05 13:11:51 +13:00
Sylvain Garancher
d592c4e05d 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

OCA Transbot updated translations from Transifex
2017-10-05 13:11:48 +13:00
Sylvain GARANCHER
6f08d95f00 Migrate printer_tray to v10.0
OCA Transbot updated translations from Transifex

OCA Transbot updated translations from Transifex
2017-10-05 13:11:43 +13:00
Sylvain GARANCHER
e11cf228f1 printer_tray: Allow to call print_option with no report 2017-10-05 13:11:43 +13:00
Sylvain GARANCHER
c59f9d6dd0 Migrate printer_tray to v9.0 2017-10-05 13:11:43 +13:00
Sylvain GARANCHER
9bbe10bfc7 Fixed lint errors 2017-10-05 13:11:43 +13:00
Sylvain GARANCHER
7a349f5278 printer_tray: Add unit tests 2017-10-05 13:11:43 +13:00
Maik Steinfeld
77a9e13bd8 FIX: print with copies and installed printer_tray module
Added new Argument to printer_tray also.

OCA Transbot updated translations from Transifex
2017-10-05 13:11:16 +13:00
Yannick Vaucher
15cac2c1e9 FIX typo in previous merge 2017-10-05 05:06:24 +13:00
vrenaville
8ca40357a2 typo, tray_id doesn't exist only printer_tray_id exist on the object 2017-10-05 05:06:24 +13:00
Pedro M. Baeza
2b30bca780 Rename manifest files 2017-10-05 05:06:24 +13:00
Dave Lasley
9283e421f6 base_report_to_printer: Upgrade to v9 2017-10-05 05:06:24 +13:00
Pedro M. Baeza
9b5f3801d2 Make modules uninstallable 2017-10-05 05:06:24 +13:00
Stéphane Bidoul
d76ac42f67 prefix versions with 8.0 2017-10-05 05:06:24 +13:00
Yannick Vaucher
c544204135 Add bug tracker link on README.rst 2017-10-05 05:06:24 +13:00
Alexandre Fayolle
092c0feafb Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2017-10-05 05:06:24 +13:00
Yannick Vaucher
352074f4ee Add license key in __openerp__.py 2017-10-05 05:06:24 +13:00
Guewen Baconnier
a05e7b7740 Reset the printer's tray when the printer is changed 2017-10-05 05:06:24 +13:00
Guewen Baconnier
529d3af76e Update the description with the OCA template 2017-10-05 05:06:24 +13:00
Guewen Baconnier
e13513e667 Add the trays in printing.report.xml.action view
So they can be configured per user and per report
2017-10-05 05:06:24 +13:00
Guewen Baconnier
053e8ed0a0 Security file was not loaded 2017-10-05 05:06:24 +13:00
Guewen Baconnier
7d870c1de5 Remove the PPD file once read, otherwise they accumulate 2017-10-05 05:06:24 +13:00
Guewen Baconnier
83c4507ed4 Missing import 2017-10-05 05:06:24 +13:00
Guewen Baconnier
0ce0909163 Wrong column name 2017-10-05 05:06:24 +13:00
Guewen Baconnier
e91bbb386f Updated translations 2017-10-05 05:06:24 +13:00
Guewen Baconnier
60a8e38f02 Add the printer tray choice in the 'My preferences' popup 2017-10-05 05:06:24 +13:00
Guewen Baconnier
dd58bf3dbb add trays in printers view 2017-10-05 05:06:24 +13:00