[company] [setup] added on_doctype_update to add indexes, renamed make_obj to make_controller

This commit is contained in:
Rushabh Mehta
2013-06-28 12:49:28 +05:30
parent e5dfc6c440
commit 03e9a4ea11
6 changed files with 33 additions and 32 deletions

View File

@@ -42,7 +42,7 @@ class DocType:
bin_wrapper.ignore_permissions = 1
bin_wrapper.insert()
bin_obj = bin_wrapper.make_obj()
bin_obj = bin_wrapper.make_controller()
else:
bin_obj = get_obj('Bin', bin)
return bin_obj