GL Control rewrite and many other cleanup using inheritence

This commit is contained in:
Nabin Hait
2013-01-30 12:49:08 +05:30
parent 021dd54fed
commit bf495c9a6d
16 changed files with 878 additions and 892 deletions

View File

@@ -18,8 +18,9 @@ from __future__ import unicode_literals
import webnotes
from setup.utils import get_company_currency
from utilities.transaction_base import TransactionBase
class SellingController(TransactionBase):
from controllers.accounts_controller import AccountsController
class SellingController(AccountsController):
def validate(self):
self.set_total_in_words()