commit | 6f933db3cc03b48e9eaf904d42a5ab31a36a76d7 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Tue Dec 28 14:16:19 2021 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Tue Dec 28 14:16:19 2021 +0530 |
tree | fcd7b1197f8c11cb5b9e653c7be0eddbb205be04 | |
parent | bb6d1de2211e7f74ed1d9b9e3542939f743c940f [diff] |
fix: Deferred revenue test case
diff --git a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py index aa2408e..cb18dd3 100644 --- a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py +++ b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py
@@ -986,7 +986,7 @@ pi = make_purchase_invoice(item=item.name, qty=1, rate=100, do_not_save=True) pi.set_posting_time = 1 - pi.posting_date = '2019-03-15' + pi.posting_date = '2019-01-10' pi.items[0].enable_deferred_expense = 1 pi.items[0].service_start_date = "2019-01-10" pi.items[0].service_end_date = "2019-03-15"