changeset d7f9c390dce4 in modules/production_work_timesheet:default
details:
https://hg.tryton.org/modules/production_work_timesheet?cmd=changeset&node=d7f9c390dce4
description:
Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
diffstat:
tests/test_production_work_timesheet.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r cdac70a41027 -r d7f9c390dce4 tests/test_production_work_timesheet.py
--- a/tests/test_production_work_timesheet.py Sat Dec 19 17:08:46 2020 +0100
+++ b/tests/test_production_work_timesheet.py Sat Apr 10 23:46:23 2021 +0200
@@ -7,10 +7,10 @@
from trytond.tests.test_tryton import suite as test_suite
from trytond.pool import Pool
from trytond.modules.company.tests import (
- create_company, set_company, create_employee)
+ create_company, set_company, create_employee, CompanyTestMixin)
-class ProductionWorkTimesheetTestCase(ModuleTestCase):
+class ProductionWorkTimesheetTestCase(CompanyTestMixin, ModuleTestCase):
'Test Production Work Timesheet module'
module = 'production_work_timesheet'