aii: default account from company
diff --git a/controllers/stock_controller.py b/controllers/stock_controller.py
index 3a900aa..eec7352 100644
--- a/controllers/stock_controller.py
+++ b/controllers/stock_controller.py
@@ -20,7 +20,7 @@
class StockController(AccountsController):
def make_gl_entries(self, against_stock_account, amount, cost_center=None):
- stock_in_hand_account = self.get_stock_in_hand_account()
+ stock_in_hand_account = self.get_default_account("stock_in_hand_account")
if amount:
gl_entries = [