changes related to my_company page moved to home

This commit is contained in:
nabinhait
2011-06-17 17:09:15 +05:30
parent 10dc6be450
commit d9c37074ce
2 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ def add_question(arg):
d.save(1)
if args['suggest']:
from my_company.page.my_company.my_company import post_comment
from home.page.my_company.my_company import post_comment
for s in args['suggest']:
if s:
post_comment({
@@ -34,4 +34,4 @@ def vote(arg):
webnotes.conn.sql("update `tab%s` set points=%s, _users_voted=%s where name=%s" % (args['dt'], '%s', '%s', '%s'), \
(p, cstr(res[1]) + ',' + webnotes.user.name, args['dn']))
return p
return p