Skip to content

Commit

Permalink
fix: set supplier
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninad1306 committed Dec 5, 2024
1 parent e8c5a46 commit f5ae997
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def test_standalone_stock_entry(self):

self.assertRaisesRegex(
frappe.ValidationError,
re.compile(r"(.*GST Category is a mandatory field for GST Transactions.*)"),
re.compile(r"(.*Please ensure that it is set in the Party and / or Address.*)"),
se.save,
)

Expand All @@ -322,6 +322,7 @@ def test_validation_for_doc_references(self):
return_se = get_materials_from_supplier(
sco.name, [d.name for d in sco.supplied_items]
)
return_se.supplier = "_Test Registered Supplier"
return_se.save()

scr = make_subcontracting_receipt(sco.name)
Expand Down

0 comments on commit f5ae997

Please sign in to comment.