brotherton-erpnext/erpnext/tests/ui_test_bulk_transaction_processing.py

22 lines
401 B
Python
Raw Normal View History

import frappe
from erpnext.bulk_transaction.doctype.bulk_transaction_logger.test_bulk_transaction_logger import (
create_company,
create_customer,
create_item,
create_so,
)
@frappe.whitelist()
def create_records():
create_company()
create_customer()
create_item()
gd = frappe.get_doc("Global Defaults")
gd.set("default_company", "Test Bulk")
gd.save()
frappe.clear_cache()
2022-03-28 13:22:46 +00:00
create_so()