mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 18:54:55 +00:00
fix: possible type error on quotation -> sales order creation
(cherry picked from commit b2290c6f57)
This commit is contained in:
@@ -288,7 +288,7 @@ def _make_sales_order(source_name, target_doc=None, ignore_permissions=False):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# sales team
|
# sales team
|
||||||
for d in customer.get("sales_team"):
|
for d in customer.get("sales_team") or []:
|
||||||
target.append(
|
target.append(
|
||||||
"sales_team",
|
"sales_team",
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user