mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-10 07:33:17 +02:00
fix(test): pin posting date in test_depreciation_on_cancel_invoice
This commit is contained in:
@@ -3230,7 +3230,7 @@ class TestSalesInvoice(FrappeTestCase):
|
||||
calculate_depreciation=1,
|
||||
submit=1,
|
||||
)
|
||||
post_depreciation_entries()
|
||||
post_depreciation_entries(date="2025-04-01")
|
||||
|
||||
si = create_sales_invoice(
|
||||
item_code="Macbook Pro", asset=asset.name, qty=1, rate=10000, posting_date=getdate("2025-05-01")
|
||||
|
||||
Reference in New Issue
Block a user