fix(demo): Demo setup for canadian COA

(cherry picked from commit c9fd182268)
This commit is contained in:
Deepesh Garg
2023-12-17 13:36:58 +05:30
committed by Mergify
parent 57f7933a4b
commit 7d844411fb
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(
{