fix: Disable automcatically_fetch_payment_terms after running its associated tests

This commit is contained in:
GangaManoj
2021-08-05 00:35:45 +05:30
parent 23c104555b
commit 0b11420147
4 changed files with 8 additions and 0 deletions

View File

@@ -988,6 +988,8 @@ class TestPurchaseOrder(unittest.TestCase):
# self.assertEqual(po.payment_terms_template, pi.payment_terms_template)
compare_payment_schedules(self, po, pi)
automatically_fetch_payment_terms(enable=0)
def make_pr_against_po(po, received_qty=0):
pr = make_purchase_receipt(po)
pr.get("items")[0].qty = received_qty or 5