Skip to content

Commit

Permalink
Remove unused bank issuer and beneficiary fields in tests.
Browse files Browse the repository at this point in the history
The `bank_issuer` and `bank_beneficiary` fields were removed from test cases as they are no longer necessary. This simplifies the test setup and eliminates redundant assignments.
  • Loading branch information
dhongu committed Jan 26, 2025
1 parent 419cad2 commit eb616f6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions deltatech_promissory_note/tests/test_promissory.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ def test_promissory_note_vendor(self):
promissory_note.currency_id = self.env.ref("base.EUR")
promissory_note.acc_issuer = "XXX"
promissory_note.acc_beneficiary = "XXX"
promissory_note.bank_issuer = "XXX"
promissory_note.bank_beneficiary = "XXX"

promissory_note.is_last_bo = True
promissory_note = promissory_note.save()
promissory_note.action_cashed()
Expand All @@ -39,8 +38,7 @@ def test_promissory_note_customer(self):
promissory_note.currency_id = self.env.ref("base.EUR")
promissory_note.acc_issuer = "XXX"
promissory_note.acc_beneficiary = "XXX"
promissory_note.bank_issuer = "XXX"
promissory_note.bank_beneficiary = "XXX"

promissory_note.is_last_bo = True
promissory_note = promissory_note.save()
promissory_note.action_cashed()

0 comments on commit eb616f6

Please sign in to comment.