mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
fix: check if terms is not set in selling controller
This commit is contained in:
@@ -51,6 +51,7 @@ class SellingController(StockController):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
and not self.get("tc_name")
|
and not self.get("tc_name")
|
||||||
|
and not self.get("terms")
|
||||||
):
|
):
|
||||||
self.tc_name = default_selling_terms
|
self.tc_name = default_selling_terms
|
||||||
self.terms = frappe.get_value("Terms and Conditions", self.get("tc_name"), "terms")
|
self.terms = frappe.get_value("Terms and Conditions", self.get("tc_name"), "terms")
|
||||||
|
|||||||
Reference in New Issue
Block a user