fixes in stock reco

This commit is contained in:
Anand Doshi
2013-01-14 15:52:22 +05:30
parent c313d662df
commit 9437f39c86
2 changed files with 12 additions and 4 deletions

View File

@@ -39,7 +39,9 @@ class DocType:
"doctype": "Bin",
"item_code": item_code,
"warehouse": warehouse,
}]).insert()
}])
bin_wrapper.ignore_permissions = 1
bin_wrapper.insert()
bin_obj = bin_wrapper.make_obj()
else: