mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
test: added warehouse for TCS Item as it is a Stock Item (#24942)
This commit is contained in:
@@ -229,7 +229,8 @@ def create_sales_invoice(**args):
|
|||||||
'qty': args.qty or 1,
|
'qty': args.qty or 1,
|
||||||
'rate': args.rate or 10000,
|
'rate': args.rate or 10000,
|
||||||
'cost_center': 'Main - _TC',
|
'cost_center': 'Main - _TC',
|
||||||
'expense_account': 'Cost of Goods Sold - _TC'
|
'expense_account': 'Cost of Goods Sold - _TC',
|
||||||
|
'warehouse': args.warehouse or '_Test Warehouse - _TC'
|
||||||
}]
|
}]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user