mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
Test record fixed for warehouse
This commit is contained in:
@@ -15,7 +15,8 @@ def make_gl_entries(gl_map, cancel=False, adv_adj=False, merge_entries=True,
|
|||||||
if gl_map:
|
if gl_map:
|
||||||
if not cancel:
|
if not cancel:
|
||||||
gl_map = process_gl_map(gl_map, merge_entries)
|
gl_map = process_gl_map(gl_map, merge_entries)
|
||||||
save_entries(gl_map, adv_adj, update_outstanding)
|
if gl_map:
|
||||||
|
save_entries(gl_map, adv_adj, update_outstanding)
|
||||||
else:
|
else:
|
||||||
delete_gl_entries(gl_map, adv_adj=adv_adj, update_outstanding=update_outstanding)
|
delete_gl_entries(gl_map, adv_adj=adv_adj, update_outstanding=update_outstanding)
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"company": "_Test Company 1",
|
"company": "_Test Company 1",
|
||||||
"create_account_under": "Stock Assets - _TC",
|
"create_account_under": "Stock Assets - _TC1",
|
||||||
"doctype": "Warehouse",
|
"doctype": "Warehouse",
|
||||||
"warehouse_name": "_Test Warehouse 2"
|
"warehouse_name": "_Test Warehouse 2"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user