Check rule only if _check_access is set and enforce companies rule
issue4080 review343891009
This commit is contained in:
1 parent
0612e60bf2
commit
5cef7b4d8a
1 file changed
+2
-2
@@ -9,11 +9,11 @@ from trytond.tests.test_tryton import doctest_teardown
|
||||
from trytond.tests.test_tryton import doctest_checker
|
||||
from trytond.pool import Pool
|
||||
|
||||
from trytond.modules.company.tests import CompanyMultiValueTestMixin
|
||||
from trytond.modules.company.tests import CompanyTestMixin
|
||||
from trytond.modules.currency.tests import create_currency
|
||||
|
||||
|
||||
class CarrierWeightTestCase(CompanyMultiValueTestMixin, ModuleTestCase):
|
||||
class CarrierWeightTestCase(CompanyTestMixin, ModuleTestCase):
|
||||
'Test CarrierWeight module'
|
||||
module = 'carrier_weight'
|
||||
extras = ['purchase_shipment_cost', 'sale_shipment_cost']
|
||||
|
||||
Reference in new issue
Block a user