fix: Tests

This commit is contained in:
Deepesh Garg 2021-06-23 13:17:01 +05:30
parent 208b5f9e73
commit 35e11fbea6

View File

@ -480,7 +480,7 @@ def update_stock_settings():
stock_settings.save() stock_settings.save()
def create_bank_account(args): def create_bank_account(args):
if not args.bank_account: if not args.get('bank_account'):
return return
company_name = args.company_name company_name = args.company_name