link warehouse with account

This commit is contained in:
Nabin Hait
2015-05-01 20:31:11 +05:30
parent f25822cd8d
commit d51b09282a
3 changed files with 11 additions and 6 deletions

View File

@@ -15,11 +15,6 @@ def execute():
delete_individual_party_account()
remove_customer_supplier_account_report()
def link_warehouse_account():
frappe.db.sql("""update tabAccount set warehouse=master_name
where ifnull(account_type, '') = 'Warehouse' and ifnull(master_name, '') != ''""")
def create_receivable_payable_account():
receivable_payable_accounts = frappe._dict()