Check rule only if _check_access is set and enforce companies rule
issue4080 review343891009
This commit is contained in:
1 parent
625622c9a8
commit
cd28a165f6
1 file changed
+2
-2
@@ -10,14 +10,14 @@ from trytond.pool import Pool
|
||||
from trytond.config import config
|
||||
from trytond.transaction import Transaction
|
||||
|
||||
from trytond.modules.company.tests import CompanyMultiValueTestMixin
|
||||
from trytond.modules.company.tests import CompanyTestMixin
|
||||
from trytond.modules.notification_email import notification \
|
||||
as notification_module
|
||||
|
||||
FROM = 'tryton@example.com'
|
||||
|
||||
|
||||
class NotificationEmailTestCase(CompanyMultiValueTestMixin, ModuleTestCase):
|
||||
class NotificationEmailTestCase(CompanyTestMixin, ModuleTestCase):
|
||||
"Test Notification Email module"
|
||||
module = 'notification_email'
|
||||
extras = ['company', 'commission', 'party', 'web_user']
|
||||
|
||||
Reference in new issue
Block a user