Jairo Llopis cf9fb7986b [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.
2021-01-12 09:31:45 +01:00
2020-10-08 21:45:07 +02:00
2020-10-08 21:45:07 +02:00
2020-10-08 21:45:07 +02:00
2020-10-08 21:45:07 +02:00
2020-10-08 21:45:07 +02:00
2020-10-08 21:45:07 +02:00
2020-11-01 22:25:59 +01:00
2020-12-11 20:13:41 +01:00
2020-10-08 21:45:07 +02:00
2020-10-08 21:45:07 +02:00
2020-10-08 21:45:07 +02:00
2020-10-08 21:45:07 +02:00

Runbot Status Build Status codecov Translation Status

report-print-send

TODO: add repo description.

This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to OCA policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

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