Skip to content

Commit

Permalink
[FIX] Fix tests. Duplicate code when creating account
Browse files Browse the repository at this point in the history
  • Loading branch information
benwillig committed Jul 5, 2017
1 parent 91faf44 commit 8ce9ef1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ def setUp(self):
'account.data_account_type_revenue')

self.account_recv = self.AccountObj.create({
'code': 'RECV',
'code': 'RECVT',
'name': "Receivable (test)",
'reconcile': True,
'user_type_id': self.account_type_recv.id,
})
self.account_sale = self.AccountObj.create({
'code': 'SALE',
'code': 'SALET',
'name': "Receivable (sale)",
'reconcile': True,
'user_type_id': self.account_type_rev.id,
})

self.sales_journal = self.AccountJournalObj.create({
'name': "Sales journal",
'code': 'SAJ',
'code': 'SAJT',
'type': 'sale',
'default_credit_account_id': self.account_sale.id,
'default_debit_account_id': self.account_sale.id,
Expand Down

0 comments on commit 8ce9ef1

Please sign in to comment.