mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 18:51:21 +00:00
refactor(test): make consolidated trial balance report deterministic
This commit is contained in:
@@ -936,6 +936,42 @@ class ERPNextTestSuite(unittest.TestCase):
|
||||
"password": "test",
|
||||
"chart_of_accounts": "Standard",
|
||||
},
|
||||
{
|
||||
"abbr": "PGCI",
|
||||
"company_name": "Parent Group Company India",
|
||||
"country": "India",
|
||||
"default_currency": "INR",
|
||||
"doctype": "Company",
|
||||
"domain": "Manufacturing",
|
||||
"chart_of_accounts": "Standard",
|
||||
"default_holiday_list": cls.holiday_list[0].name,
|
||||
"enable_perpetual_inventory": 0,
|
||||
"is_group": 1,
|
||||
},
|
||||
{
|
||||
"abbr": "CCI",
|
||||
"company_name": "Child Company India",
|
||||
"country": "India",
|
||||
"default_currency": "INR",
|
||||
"doctype": "Company",
|
||||
"domain": "Manufacturing",
|
||||
"chart_of_accounts": "Standard",
|
||||
"default_holiday_list": cls.holiday_list[0].name,
|
||||
"enable_perpetual_inventory": 0,
|
||||
"parent_company": "Parent Group Company India",
|
||||
},
|
||||
{
|
||||
"abbr": "CCU",
|
||||
"company_name": "Child Company US",
|
||||
"country": "United States",
|
||||
"default_currency": "USD",
|
||||
"doctype": "Company",
|
||||
"domain": "Manufacturing",
|
||||
"chart_of_accounts": "Standard",
|
||||
"default_holiday_list": cls.holiday_list[0].name,
|
||||
"enable_perpetual_inventory": 0,
|
||||
"parent_company": "Parent Group Company India",
|
||||
},
|
||||
]
|
||||
cls.companies = []
|
||||
for x in records:
|
||||
|
||||
Reference in New Issue
Block a user