Deleted master_type, master_name, credit_days, credit_limit fields from account
Warehouse account is linked via Warehouse field now, instead of master_name field patch to copy warehouse value from master_name to warehouse party_type and party field added in GL Entry and Journal Voucher Detail
This commit is contained in:
@@ -282,6 +282,6 @@ def get_voucherwise_gl_entries(future_stock_vouchers, posting_date):
|
||||
return gl_entries
|
||||
|
||||
def get_warehouse_account():
|
||||
warehouse_account = dict(frappe.db.sql("""select master_name, name from tabAccount
|
||||
where account_type = 'Warehouse' and ifnull(master_name, '') != ''"""))
|
||||
warehouse_account = dict(frappe.db.sql("""select warehouse, name from tabAccount
|
||||
where account_type = 'Warehouse' and ifnull(warehouse, '') != ''"""))
|
||||
return warehouse_account
|
||||
|
||||
Reference in New Issue
Block a user