Set ignore pricing rule while mapping SI to DN

This commit is contained in:
nabinhait 2014-07-29 11:35:30 +05:30
parent 7555d619f2
commit d4b92a1d20

View File

@ -786,6 +786,7 @@ def get_income_account(doctype, txt, searchfield, start, page_len, filters):
@frappe.whitelist()
def make_delivery_note(source_name, target_doc=None):
def set_missing_values(source, target):
target.ignore_pricing_rule = 1
target.run_method("set_missing_values")
target.run_method("calculate_taxes_and_totals")