mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +00:00
fix(demo): Demo setup for canadian COA
(cherry picked from commit c9fd182268)
This commit is contained in:
@@ -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(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user