Check rule only if _check_access is set and enforce companies rule
issue4080 review343891009
This commit is contained in:
@@ -13,10 +13,11 @@ from trytond.tests.test_tryton import doctest_checker
|
||||
from trytond.transaction import Transaction
|
||||
from trytond.pool import Pool
|
||||
|
||||
from trytond.modules.company.tests import create_company, set_company
|
||||
from trytond.modules.company.tests import (
|
||||
create_company, set_company, CompanyTestMixin)
|
||||
|
||||
|
||||
class StockLotTestCase(ModuleTestCase):
|
||||
class StockLotTestCase(CompanyTestMixin, ModuleTestCase):
|
||||
'Test Stock Lot module'
|
||||
module = 'stock_lot'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user