mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-31 23:33:43 +00:00
test: narrow Territory-wise Sales docstring to covered stages
This commit is contained in:
@@ -12,7 +12,10 @@ TERRITORY = "_Test Territory"
|
|||||||
|
|
||||||
class TestTerritoryWiseSales(ERPNextTestSuite):
|
class TestTerritoryWiseSales(ERPNextTestSuite):
|
||||||
"""The report walks the Opportunity -> Quotation -> Sales Order -> Sales Invoice
|
"""The report walks the Opportunity -> Quotation -> Sales Order -> Sales Invoice
|
||||||
funnel and totals each stage's amount per territory."""
|
funnel and totals each stage's amount per territory.
|
||||||
|
|
||||||
|
These tests cover the Opportunity and Quotation stages; the Sales Order and
|
||||||
|
Sales Invoice (order_amount / billing_amount) stages are not yet exercised."""
|
||||||
|
|
||||||
def make_opportunity(self, amount=5000):
|
def make_opportunity(self, amount=5000):
|
||||||
return frappe.get_doc(
|
return frappe.get_doc(
|
||||||
|
|||||||
Reference in New Issue
Block a user