Fix wrongly readonly started transaction in unittest
This commit is contained in:
1 parent
d9a35265ae
commit
81cbdd74b4
1 file changed
+1
-1
@@ -30,7 +30,7 @@ class AccountCreditLimitTestCase(unittest.TestCase):
|
||||
|
||||
def test0010check_credit_limit(self):
|
||||
'Test check_credit_limit'
|
||||
with Transaction().start(DB_NAME, USER, CONTEXT):
|
||||
with Transaction().start(DB_NAME, USER, context=CONTEXT):
|
||||
receivable, = self.account.search([
|
||||
('kind', '=', 'receivable'),
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user