fix(demo): Demo setup for canadian COA

This commit is contained in:
Deepesh Garg
2023-12-17 13:36:58 +05:30
parent 89a0e9c245
commit c9fd182268
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(
{