Fixed indentation
This commit is contained in:
parent
5478a7fa67
commit
6d78f7b862
@ -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):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user