Merge pull request #38807 from deepeshgarg007/canada_demo

fix(demo): Demo setup for Canadian COA
This commit is contained in:
Deepesh Garg
2023-12-17 14:05:07 +05:30
committed by GitHub
2 changed files with 9 additions and 5 deletions

View File

@@ -112,9 +112,9 @@ def create_transaction(doctype, company, start_date):
warehouse = get_warehouse(company)
if document_type == "Purchase Order":
posting_date = get_random_date(start_date, 1, 30)
posting_date = get_random_date(start_date, 1, 25)
else:
posting_date = get_random_date(start_date, 31, 364)
posting_date = get_random_date(start_date, 31, 350)
doctype.update(
{