Controller init args fix (#11015)

* Controller init args fix

* cleanup useless code
This commit is contained in:
Nabin Hait
2017-10-02 15:59:27 +05:30
committed by GitHub
parent 1f10d693e9
commit 7eba1a35d3
16 changed files with 35 additions and 38 deletions

View File

@@ -15,8 +15,8 @@ from erpnext.exceptions import InvalidCurrency
force_item_fields = ("item_group", "barcode", "brand", "stock_uom")
class AccountsController(TransactionBase):
def __init__(self, arg1, arg2=None):
super(AccountsController, self).__init__(arg1, arg2)
def __init__(self, *args, **kwargs):
super(AccountsController, self).__init__(*args, **kwargs)
@property
def company_currency(self):