diff options
| author | RomainLibert <rli@odoo.com> | 2019-08-21 11:04:28 +0000 |
|---|---|---|
| committer | RomainLibert <rli@odoo.com> | 2019-08-21 11:04:28 +0000 |
| commit | 9a27710aa71a2d74349160222974c18c0f1cf9e9 (patch) | |
| tree | fc2a1bd849c50e7e77178c21f8d67374f02f8e42 /addons/lunch/tests | |
| parent | f3c1e6cfbe70f9dd37cc7c7b3b3464c5b9af280b (diff) | |
[FIX] lunch: fix lunch product report
closes odoo/odoo#35904
Signed-off-by: Romain Libert (rli) <rli@odoo.com>
Diffstat (limited to 'addons/lunch/tests')
| -rw-r--r-- | addons/lunch/tests/__init__.py | 1 | ||||
| -rw-r--r-- | addons/lunch/tests/test_product_report.py | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/addons/lunch/tests/__init__.py b/addons/lunch/tests/__init__.py index 27f923780e1..368a677b5dc 100644 --- a/addons/lunch/tests/__init__.py +++ b/addons/lunch/tests/__init__.py @@ -2,4 +2,5 @@ # Part of Odoo. See LICENSE file for full copyright and licensing details. from . import common +from . import test_product_report from . import test_supplier diff --git a/addons/lunch/tests/test_product_report.py b/addons/lunch/tests/test_product_report.py new file mode 100644 index 00000000000..1c15512eeb7 --- /dev/null +++ b/addons/lunch/tests/test_product_report.py @@ -0,0 +1,9 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo.addons.lunch.tests.common import TestsCommon + + +class TestLunchProductReport(TestsCommon): + def test_product_available(self): + self.assertTrue(self.env['lunch.product.report'].search([]), 'There should be some record on lunch_product_report') |
