Skip to content

Commit

Permalink
fix: conform demo mode of payment types to docs recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
HKuz authored and agritheory committed Aug 26, 2022
1 parent 6aabb43 commit 44cb68c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion check_run/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ def create_bank_and_bank_account(settings):
mop.append('accounts', {'company': settings.company, 'default_account': settings.company_account})
mop.save()

frappe.db.set_value('Mode of Payment', 'Wire Transfer', 'type', 'Electronic')
frappe.db.set_value('Mode of Payment', 'Wire Transfer', 'type', 'General')
frappe.db.set_value('Mode of Payment', 'Credit Card', 'type', 'General')
frappe.db.set_value('Mode of Payment', 'Bank Draft', 'type', 'General')

if not frappe.db.exists('Bank', 'Local Bank'):
bank = frappe.new_doc('Bank')
Expand Down

0 comments on commit 44cb68c

Please sign in to comment.