Revert "feat(Sales Invoice): allow linking to project without adding timesheets (backport #44295)" (#45531)

Revert "feat(Sales Invoice): allow linking to project without adding timeshee…"

This reverts commit 2c2a25ab16.
This commit is contained in:
Nabin Hait
2025-01-27 14:31:44 +05:30
committed by GitHub
parent 2c2a25ab16
commit b004855e7c
2 changed files with 4 additions and 8 deletions

View File

@@ -62,7 +62,6 @@ class TestTimesheet(unittest.TestCase):
)
sales_invoice = create_sales_invoice(do_not_save=True)
sales_invoice.project = project
sales_invoice._add_timesheet_data()
sales_invoice.submit()
ts = frappe.get_doc("Timesheet", timesheet.name)