mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 05:32:46 +01:00
refactor(test): make gross profit deterministic
This commit is contained in:
@@ -388,6 +388,7 @@ class TestGrossProfit(ERPNextTestSuite):
|
||||
report_output = {k: v for k, v in gp_entry[0].items() if k in expected_entry}
|
||||
self.assertEqual(report_output, expected_entry)
|
||||
|
||||
@ERPNextTestSuite.change_settings("Selling Settings", {"allow_multiple_items": True})
|
||||
def test_crnote_against_invoice_with_multiple_instances_of_same_item(self):
|
||||
"""
|
||||
Item Qty for Sales Invoices with multiple instances of same item go in the -ve. Ideally, the credit noteshould cancel out the invoice items.
|
||||
|
||||
Reference in New Issue
Block a user