changeset 5f6af8bf45de in modules/product_cost_warehouse:default
details:
https://hg.tryton.org/modules/product_cost_warehouse?cmd=changeset&node=5f6af8bf45de
description:
Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
diffstat:
tests/test_product_cost_warehouse.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 37ab0f3b4782 -r 5f6af8bf45de tests/test_product_cost_warehouse.py
--- a/tests/test_product_cost_warehouse.py Sun Mar 21 15:49:07 2021 +0100
+++ b/tests/test_product_cost_warehouse.py Sat Apr 10 23:46:23 2021 +0200
@@ -10,8 +10,10 @@
from trytond.tests.test_tryton import doctest_teardown
from trytond.tests.test_tryton import doctest_checker
+from trytond.modules.company.tests import CompanyTestMixin
-class ProductCostWarehouseTestCase(ModuleTestCase):
+
+class ProductCostWarehouseTestCase(CompanyTestMixin, ModuleTestCase):
'Test Product Cost Warehouse module'
module = 'product_cost_warehouse'
extras = ['product_cost_history']