Files
odoo_source/addons/stock/tests/__init__.py
T
Christophe Matthieu f29df7fb2e [FIX] web: Fixed the printing of reports.
A new exception has been added to detect inconsistent reports. However, many are not structured as expected. Thus, the change consists mainly of checking only when the print has to be separated in part to attach it to the respective documents.

We now take the page tag instead of the article, because the article tag is in the layout, so to separate the file, the t-call had to be inside the t-foreach (for the separation) and so possibly read the assets several times. Since all templates have the first tag (in the t-foreach) tag page, the choice is more sensible.

The javascripts files used in readonly were taken out of the editing assets.

A turn was made but not activated, it works locally, but on the runbot, an error is triggered when generating assets after choosing the settings.
2018-09-04 19:01:20 +02:00

20 lines
535 B
Python

# -*- coding: utf-8 -*-
from . import test_stock_flow
from . import test_product
from . import test_warehouse
from . import test_shipment
from . import test_stock_location_search
from . import test_quant
from . import test_inventory
from . import test_move
from . import test_move2
from . import test_robustness
from . import test_packing
from . import test_packing_neg
from . import test_proc_rule
from . import test_wise_operator
# TODO enable this test: error on runbot to create asset and open the iframe
# from . import test_ui