Conflicts:
	controllers/buying_controller.py
This commit is contained in:
Saurabh
2013-03-20 13:48:48 +05:30
31 changed files with 707 additions and 354 deletions

View File

@@ -24,9 +24,9 @@ from buying.utils import get_item_details
from setup.utils import get_company_currency
from webnotes.model.utils import round_floats_in_doc
from controllers.accounts_controller import AccountsController
from controllers.stock_controller import StockController
class BuyingController(AccountsController):
class BuyingController(StockController):
def validate(self):
super(BuyingController, self).validate()
if self.meta.get_field("currency"):