Commit 8813659e authored by Łukasz Nowak's avatar Łukasz Nowak

Commit the transaction to calculate security.

parent 4f2d1e84
......@@ -209,6 +209,8 @@ class TestVifibUserAdmin(testVifibMixin):
destination_decision_value=person_value,
price_currency='currency_module/EUR',
portal_type='Purchase Packing List')
# Commit the transaction in order to have access to the object
transaction.commit()
# Access service
service_module_id = self.portal.getDefaultModuleId(portal_type='Service')
service_module = self.portal.restrictedTraverse(service_module_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment