mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
aii: default account from company
This commit is contained in:
@@ -20,7 +20,7 @@ from controllers.accounts_controller import AccountsController
|
||||
|
||||
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 = [
|
||||
|
||||
Reference in New Issue
Block a user