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
2017-12-19 04:36:08 +01:00
2017-10-03 16:55:02 +02:00
2017-10-03 16:55:02 +02:00
2017-10-03 16:55:02 +02:00
2017-10-03 16:55:02 +02:00

Licence Runbot Status Build Status Coverage Status

Report - Printing and Sending

This project aim to deal with modules related to manage document printing and sending in a generic way. You'll find modules that:

Description
Odoo Printing Services and Printer related addons
Readme 9.3 MiB
Languages
Python 69.3%
HTML 30%
JavaScript 0.7%