brotherton-erpnext/erpnext/selling
MOHAMMED NIYAS 90ddf1c0f0
fix: create sales order
Getting error while clicking create sales order button from quotation

Taceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 66, in application
    response = frappe.api.handle()
  File "apps/frappe/frappe/api.py", line 54, in handle
    return frappe.handler.handle()
  File "apps/frappe/frappe/handler.py", line 45, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/handler.py", line 83, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "apps/frappe/frappe/__init__.py", line 1607, in call
    return fn(*args, **newargs)
  File "apps/frappe/frappe/model/mapper.py", line 36, in make_mapped_doc
    return method(source_name)
  File "apps/erpnext/erpnext/selling/doctype/quotation/quotation.py", line 263, in make_sales_order
    return _make_sales_order(source_name, target_doc)
  File "apps/erpnext/erpnext/selling/doctype/quotation/quotation.py", line 333, in _make_sales_order
    doclist = get_mapped_doc(
  File "apps/frappe/frappe/model/mapper.py", line 144, in get_mapped_doc
    postprocess(source_doc, target_doc)
  File "apps/erpnext/erpnext/selling/doctype/quotation/quotation.py", line 291, in set_missing_values
    for d in customer.get("sales_team"):
TypeError: 'NoneType' object is not iterable
2023-05-18 10:23:58 +05:30
..
dashboard_chart feat: Export Selling Dashboard (#22776) 2020-07-22 18:07:39 +05:30
doctype fix: create sales order 2023-05-18 10:23:58 +05:30
form_tour chore: form tour location 2022-07-11 11:50:57 +05:30
module_onboarding/selling feat: Accounts, Selling & Assets Onboarding cleanup (#27112) 2021-08-27 15:47:11 +05:30
number_card feat: Export Selling Dashboard (#22776) 2020-07-22 18:07:39 +05:30
onboarding_step feat: Accounts, Selling & Assets Onboarding cleanup (#27112) 2021-08-27 15:47:11 +05:30
page fix: batch qty conversion factor issue fixed in pos transaction (#34917) 2023-04-19 15:57:28 +05:30
print_format refactor: remove India specific code 2022-02-25 11:36:18 +05:30
print_format_field_template feat: Taxes template for selling/buying doctypes 2021-10-21 12:06:02 +05:30
report fix: Sales person variance report without item group (#34552) 2023-03-23 19:19:46 +05:30
selling_dashboard/selling feat: Export Selling Dashboard (#22776) 2020-07-22 18:07:39 +05:30
workspace fix: selling workspace is not migrating properly 2023-04-16 13:10:42 +05:30
__init__.py
README.md Update README.md (#16224) 2018-12-24 14:19:51 +05:30
sales_common.js fix: function batch_no should only be declared once (#35115) 2023-05-14 08:56:25 +05:30

Selling management module. Includes forms for capturing / managing the sales process:

  • Customer
  • Campaign
  • Quotation
  • Sales Order

Moved to CRM Module:

  • Lead
  • Opportunity