mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 13:39:18 +00:00
Fixed indentation
This commit is contained in:
@@ -245,26 +245,26 @@ def make_quotation(source_name, target_doc=None):
|
|||||||
|
|
||||||
return doclist
|
return doclist
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def make_request_for_quotation(source_name, target_doc=None):
|
def make_request_for_quotation(source_name, target_doc=None):
|
||||||
doclist = get_mapped_doc("Opportunity", source_name, {
|
doclist = get_mapped_doc("Opportunity", source_name, {
|
||||||
"Opportunity": {
|
"Opportunity": {
|
||||||
"doctype": "Request for Quotation",
|
"doctype": "Request for Quotation",
|
||||||
"validation": {
|
"validation": {
|
||||||
"enquiry_type": ["=", "Sales"]
|
"enquiry_type": ["=", "Sales"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Opportunity Item": {
|
"Opportunity Item": {
|
||||||
"doctype": "Request for Quotation Item",
|
"doctype": "Request for Quotation Item",
|
||||||
"field_map": [
|
"field_map": [
|
||||||
["name", "opportunity_item"],
|
["name", "opportunity_item"],
|
||||||
["parent", "opportunity"],
|
["parent", "opportunity"],
|
||||||
["uom", "uom"]
|
["uom", "uom"]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}, target_doc)
|
}, target_doc)
|
||||||
|
|
||||||
return doclist
|
return doclist
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
def make_supplier_quotation(source_name, target_doc=None):
|
def make_supplier_quotation(source_name, target_doc=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user