commit | 1b556d1c5353c9fca94f9d00496776e1c2a69839 | [log] [tgz] |
---|---|---|
author | Saqib Ansari <nextchamp.saqib@gmail.com> | Thu Mar 24 17:59:34 2022 +0530 |
committer | Saqib Ansari <nextchamp.saqib@gmail.com> | Thu Mar 24 17:59:34 2022 +0530 |
tree | 066cd528537a18a8251f2ad48d3924eea52fc5cb | |
parent | cb4873c019f7694f64b94b5845e2fa73a602103a [diff] |
fix: test cases
diff --git a/erpnext/accounts/doctype/pos_invoice/test_pos_invoice.py b/erpnext/accounts/doctype/pos_invoice/test_pos_invoice.py index a76ae12..e06f7aa 100644 --- a/erpnext/accounts/doctype/pos_invoice/test_pos_invoice.py +++ b/erpnext/accounts/doctype/pos_invoice/test_pos_invoice.py
@@ -340,6 +340,7 @@ item=se.get("items")[0].item_code, rate=1000, do_not_save=1) si.get("items")[0].serial_no = serial_nos[0] + si.update_stock = 1 si.insert() si.submit()
diff --git a/erpnext/accounts/doctype/pos_invoice_merge_log/test_pos_invoice_merge_log.py b/erpnext/accounts/doctype/pos_invoice_merge_log/test_pos_invoice_merge_log.py index 655d726..fe57ce2 100644 --- a/erpnext/accounts/doctype/pos_invoice_merge_log/test_pos_invoice_merge_log.py +++ b/erpnext/accounts/doctype/pos_invoice_merge_log/test_pos_invoice_merge_log.py
@@ -435,7 +435,7 @@ pos_inv2.append('payments', { 'mode_of_payment': 'Cash', 'account': 'Cash - _TC', 'amount': 100 }) - pos_inv.submit() + pos_inv2.submit() consolidate_pos_invoices()