Ignore pricing rule for Travis

This commit is contained in:
Charles-Henri Decultot 2018-12-26 10:33:42 +00:00
parent 899b9b1ea7
commit 9c1db688d1

View File

@ -24,6 +24,7 @@ class TestSalesPaymentSummary(unittest.TestCase):
for invoice in si[:2]: for invoice in si[:2]:
doc = frappe.get_doc("Sales Invoice", invoice.name) doc = frappe.get_doc("Sales Invoice", invoice.name)
new_doc = frappe.copy_doc(doc) new_doc = frappe.copy_doc(doc)
new_doc.ignore_pricing_rule = 1
new_doc.insert() new_doc.insert()
new_doc.submit() new_doc.submit()
try: try: