[mapper] material request to purchase order

This commit is contained in:
Nabin Hait
2013-07-04 17:50:06 +05:30
parent 3ccfb028fe
commit df1fca9f65
5 changed files with 53 additions and 7 deletions

View File

@@ -254,9 +254,6 @@ class DocType(SellingController):
@webnotes.whitelist()
def make_sales_order(source_name, target_doclist=None):
from webnotes.model.mapper import get_mapped_doclist
if target_doclist:
target_doclist = json.loads(target_doclist)
doclist = get_mapped_doclist("Quotation", source_name, {
"Quotation": {