Skip to content

Commit

Permalink
Set "Credit Account" on "Sale Payment" in test
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunbhardwaj committed Jun 4, 2015
1 parent 44ed05b commit b330b96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def test_0010_download_invoice(self):
'sale': sale.id,
'amount': sale.total_amount,
'gateway': gateway,
'credit_account': party2.account_receivable.id,
}])
self.Sale.confirm([sale])
with Transaction().set_context(company=self.company.id):
Expand Down

0 comments on commit b330b96

Please sign in to comment.