install, web serving, session booting webnotes/wnframework#351

This commit is contained in:
Rushabh Mehta
2013-12-12 19:12:19 +05:30
parent d2dd83c3a3
commit 1f84799f2d
199 changed files with 583 additions and 512 deletions

View File

@@ -5,7 +5,7 @@ from __future__ import unicode_literals
import webnotes
from webnotes import msgprint
from webnotes.utils import cint, flt, cstr, now
from stock.utils import get_valuation_method
from erpnext.stock.utils import get_valuation_method
import json
# future reposting
@@ -16,7 +16,7 @@ _exceptions = webnotes.local('stockledger_exceptions')
def make_sl_entries(sl_entries, is_amended=None):
if sl_entries:
from stock.utils import update_bin
from erpnext.stock.utils import update_bin
cancel = True if sl_entries[0].get("is_cancelled") == "Yes" else False
if cancel: